I need to build something capable of viewing a stack of cardstock, as shown in the image below, and be able to identify the edges of each sheet, so as to be able to count the sheets in a given area. The sheets would be approximately the thickness of a greeting card. Would an OpenMV unit be capable of this?
It just depends on if the camera can see the card edges. You’ll have to buy a unit and test if that’s possible. If you can discern the edges with a camera then yes.
I guess the question really is, would a more complex (expensive) OpenCV solution have a significantly better chance of being able to do this, or would an OpenMV unit be as (or nearly as) capable?
Pretty much the same. The problem is just on if the camera can see the edges. If you capture the image with WQXGA2 (5MP) resolution then maybe.
Ok, certainly worth testing. So I’m looking to use this cam to send a count or a distance to a Teknic ClearCore unit that supports analog input similar to an Arduino. The ClearCore provides 24v power. So for the fastest capability, would my best bet be an H7 Plus cam with a CAN/RS232 shield? If I am understanding correctly, that setup would allow for accepting 24v power and outputting a 12-bit 0-5v analog signal that I could use to communicate the count or distance”.
Uh, yes, but, you can’t expect to actually read 12-bits reliably over 0-5V. You’ll want to send data from the OpenMV Cam to the ClearCore via the 5V UART. The CAN/RS232 shield though is going to output RS232 voltage levels which you can probably connect to the clear core with.