Hey,
I have to critique this hardware solution in hopes of product improvement. First of all, is this a 1.3M optical sensor? These are readily available and would provide more accuracy at little extra cost.
Furthermore, the mount should include white LED lighting run off of the USB port or external power supply. I discovered through several tests that adequate lighting around the features was indisposable for feature recognition. It's the only good way to give enough contrast to distinguish fine lines and circles.
As a followup, attached is the result from the hole finding program I have started writing. I specified a particular pixel radius and it returns all found holes displayed as a picture with the guessed radius and centers.
Here are the X and Y coordinates of each hole found.
131.7250 269.2802
382.2941 261.6078
394.4105 101.8659
586.1414 96.4520
This is my no means an optimal setup and once I get the hardware finished (another month), then it will be clear whether or not the program will work.
Steve |