Hello everybody, I just got my open MV M7 and I’m getting the hang of it.
With that said, I’m using it to scan a 10x10 data matrix, it does this with ease, really great. I’m having a problem with I need to be able to tell how far from the center of the camera the matrix
is off center.
So far, I’m unable to solve this issue. I need to put out the serial port the values of x, y how far it’s off, I looked at the find circles which does provide x, y, r values But I must admit I’m at a loss as how to go about adding this to my project.
#for c in img.find_circles(threshold = 2000, x_margin = 10, y_margin = 10, r_margin = 10):
img.draw_circle(c.x(), c.y(), c.r(), color = (255, 0, 0))
How can this be done in the 10x10 library?
I do write a lot of firmware for micro controllers and computers but it’s all in basic, I’m not new to python but not great at it… I really need some help on this one,
Thanks for any help you can provide