I'm working on a school project made in python with opencv
, and I have a question in two parts.
I have 6 photos of an object (one of each side) and one of a box filled with the same object. The quality of the photos is terrible, but my next tests will be made with better photos. My goal is to find the most reachable object in the box (in order to catch it). I am aware of the different algorithms of feature and contours detection, and I tried out some of them with the photos above, but I don't know which method would give me the greatest probability to find the most reachable object.
Now comes the second part. When I've found an object, I want to find its location in the picture, and I don't know how to exploit features or contour detection's result to get the position in pixel of the object.
This is my first post on stack overflow, and my first project with opencv, I'm sorry if the question in unclear, and I'm still doing some tests myself, but i count on programmers who already did something like this.