|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
target detection drops off with distance
Hello all,
In working with the ellipse/target detection code, we've discovered an interesting issue: if the camera is positioned within about 12 feet of the vision target, it gets a very stable lock on it. However, if the camera is moved back, target detection becomes very erratic. We're currently using very loose parameters, and the code is detecting ellipses smaller than those on the target. It is also sometimes detecting the two concentric ellipses on the target, but refusing to recognize them as a target(it just sees two circles). Does anyone have any idea why this could occur, or what parameters we could change? |
|
#2
|
|||
|
|||
|
Re: target detection drops off with distance
How is your lighting? That is a common culprit in vision target operation.
|
|
#3
|
|||
|
|||
|
Re: target detection drops off with distance
The lighting is standard math-classroom fluorescent. How would unchanging lighting cause different results at different distances though?
|
|
#4
|
||||
|
||||
|
Re: target detection drops off with distance
As you back off from the target, do any of the lights in the room come in to the camera's field of view?
Do you have auto-exposure and auto-white-balance enabled on the camera? I uploaded two screenshots in a different thread showing lighting differences. In one you'll see we are far away such that the classroom lights are in the field of view. In the other screenshot, we are much closer, and the classroom lights are no longer in the field of view. When auto-exposure and auto-white-balance are enabled, you'll see a big difference in "lighting" on the camera. http://www.chiefdelphi.com/forums/sh...98&postcount=2 |
|
#5
|
|||
|
|||
|
Re: target detection drops off with distance
Our exposure is set to HOLD at a fairly high value(the idea being to cut down on noise). Should we adjust the white balance? I was under the impression that white balance shouldn't matter since the circle detection is based on a threshold.
|
|
#6
|
|||
|
|||
|
Re: target detection drops off with distance
At our practice field, the target was not under a light and half of the lights are on there. The robot could see it close up, be when we moved farther away it could not. We moved the target under a light so the fluorescents shined on it and the robot could see the it. And in some other instances, the target can get washed out. Last year there were a few events in which camera tracking was impossible due to lights shining on the field or not enough light.
|
|
#7
|
|||
|
|||
|
Re: target detection drops off with distance
There is a white paper on ni.com/first that covers some issues that affect vision. The best way to get input on why the vision is acting the way it is, would be to attach some images, describe your camera settings, and ask if anyone has suggestions. There are many many things that can go wrong, but almost all of them can be fixed.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ellipse/Shape Detection with Java | cheeser180 | Programming | 1 | 17-01-2010 10:50 |
| Measuring distance with cameria | XXShadowXX | General Forum | 10 | 05-01-2009 14:44 |
| White Paper Discuss: Measuring Distance with Analog Potentiometers | Daniel | Extra Discussion | 4 | 26-11-2008 13:52 |
| Help with Angles and distance | charlie1218 | Programming | 5 | 13-12-2007 18:54 |
| How do I get distance between Camera and the target? | sjung9442 | Programming | 5 | 27-01-2006 09:44 |