Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Image Object recognition

Status
Not open for further replies.

hmha

Newbie level 5
Joined
Aug 13, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
hi,
the requires of this project are clasifing two type of vihicle: small and lage, but in the real conditions: lighting, backround change; other object moving;...
anyone give my the tips.
thank.
 

If the background is consistent and only want to justify the size of the vehicle, you can try to substract the photo with vehicle with a photo without vehicle. After substraction, non-zero area should be the vehicle, and you can define the size by calculating the number of pixels of non-zero.

Just my thinking...
 

leekk8 said:
If the background is consistent and only want to justify the size of the vehicle, you can try to substract the photo with vehicle with a photo without vehicle. After substraction, non-zero area should be the vehicle, and you can define the size by calculating the number of pixels of non-zero.

Just my thinking...

thank leek,

the problems are: the shadow of the of objects vs. time is not same, the boundary of image object is not size of vehicle, and the neighbours object,...
 

You need the camera to always be fixed in one orientation. Then compare a picture with no trucks in, to one with trucks in by subtracting the one from the other. Use a loose comparison and you will find that most of the pixels that have changed, belong to the truck.

Use a number of different background pictures with different lighting shading etc..

Or you can use an edge detection filter. Basically subtract every [x+1,y] pixel from every [x,y] pixel for a horizontal edge filter. For a vertical edge filter subtract [x,y+1] from [x,y]. This will give you all the horizontal and vertical edges. Scan from the top down, and you will get the top of the truck. Bottom up and you will get the bottom of the truck.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top