I am thinking of implement a image processing based solution for industrial problem.
The image is consists of a Red rectangle. Inside that I will see a matrix of circles. The requirement is to count the number of circles under following constraints. (Real application : Count the number of bottles in a bottle casing. Any missing bottles???)
- The time taken for the operation should be very low.
- I need to detect the red rectangle as well. My objective is to count the items in package and there are no mechanism (sensors) to trigger the camera. So camera will need to capture the photos continuously but the program should have a way to discard the unnecessary images.
- Processing should be realtime.
- There may be a "noise" in image capturing. You may see ovals instead of circles.
My questions are as follows,
- What is the best edge detection algorithm that matches with the given scenario?
- Are there any other mechanisms that I can use other than the edge detection?
- Is there a big impact between the language I use and the performance of the system?