Hello, I'm new to feature detection, but have some limited experience with cv2 and Python.
I want to detect if a set of rods are protruding from a surface in a machine. The rods will move and I'll take a photo, then do the analysis.
I think the way to do this is to stick on some fiducial markers and use opencv to detect them, work out the camera pose, then extrapolate where the rods should be. I can detect the rods by looking for their shadows (dark spot if a rod is up).
I've tested the idea by calibrating my camera with a chessboard, then sticking the chess board next to the rods. I can find the chessboard, then extract the ROI and detect the shadows pretty well.
However, I would have thought a fiducial on each side of the row of rods would give better results, especially as I expect to have more rods to detect in the future.
I don't really know how to go about detecting multiple fiducials and getting opencv to yield me the pose.
Can anyone give me some pointers?
Thanks, Matt