07-12-2017 06:23 AM
I needed help in an emergency
I want to tracking multiple object (Detection and Recogition) (ex : Ball)
I tried with him a lot and took my time and did not Atousel the result.
I understand and work on it Vision Development Module, but i have no information on OpenCV
What is important is the best way ?
I have a Lifecam Cinema Camera
exemple :
1)
2)
07-12-2017 10:30 AM
For a person in an emergency, you don't provide much information.
Do you just need to track the orange ball? What are the constraints? Processing frame rate required? Do you need the center of the ball, or just rough coordinates?
What does the second image with all the objects being identified have to do with this? If you have to track one of those, the problem becomes much more complicated.
I think this would be pretty easy to do using NI Vision. I don't see much advantage to figuring out OpenCV for this.
Making a lot of assumptions, I would use color plane separation to extract the orange hue and locate the ball (largest object). For later images, I would constrain the analysis to the previous location of the ball with a 5% boundary (or whatever percentage ends up working best). That minimizes the amount of processing for each image. If you fail to find the ball, reset back to full image.
Bruce