Dear readers
I have recently started working with the OpenMV technology, I have a project where it is necesarry to make a scan of a box. In this box are multiple object which needs to be determined.
One of the approaches includes the OpenMv camera in combination of a line-laser. The setup is as follows:
-The camera is mounted at an angle with the horizon (pointing down into the box)
-The laser is mounted straight above the box (it provides a line )
-The output of the camera is the bottom of the box with a line vertically in the middle
The essence of this setup is to measure the difference in the position of the line (the line moves left or right when an object is higher than the bottom). I have filtered this line out (binary) and can add the blob recognition. The problem is that i need a function that can say per horizontal pixel-line where the first binary (high) point is on this line. or i need a function which can divide this large blob into very small blobs, so i can plot the x position of every pixel on the vertical line. I have looked into the forum and library, but i dont think there is any standard function for this. Does somebody know a solution?. I hope I have been clear, for questions just ask.
Much thanks in advance