OpenCV vision with EMC/linuxcnc
The cameras we use have all the software built in and use a network cable and your browser to set it up.
And a Playstation controller?
I worked for a company that was an integrator for the Keyence cameras, and did the training course, but we never installed one as far as I recall.
Keyence is high dollar stuff for sure... we can get it but it's always too expensive for the return.
There ya go being all practical and what not
You mean since I can't even see through the doors, The inside mounted camera would be blind also? Hmmm thats a tough nut to crack. Now you got me thinking about scara mounted camera to move in when needed much like my touch probe does on my lathe..
Something like that would work if you make a good drip shield for the top... a touch probe does sound more practical for tool setting.
Have touch probe for milling, would still like to work on pick and place vision - where do I start as an experienced vision systems coder but EMC source novice? I know I've got to do a lot of reading, but some practical advice would be great
I'm sure I can do the vision, how much others are willing to help in this and other areas will largely decide the feasibilty/outcome. I'm sure given enough time I'd make my way to a working solution - it would be great to arrive at a sensible solution for a system including the definition of the pick locations etc.
Working from gEDA's PCB I get centroid and rotation data for PNP, from this I have a good idea of the control that's needed to make placement happen, it would be great if someone could work in tandem to decide on an approach for defining the pickup locations of the parts, reel dimensions and offsets etc.
Just a thought
(except for -Z, but that's another problem altogether.)
For this use, I would place the camera in a fixed position on the enclosure, behind the gantry, and use it to locate a square painted on the back of a piece of metal mounted to the Z axis. Accuracy need not be better than 0.1" and I suspect that just about any machine vision system, with just about any camera, could handle this single, trivial, completely reproducable problem.
Cost: limit switches are "only" about $2.00 apiece: you need 5 of them, plus you need to run the wires, plus you burn I/O pins. A cheap webcam costs about $20 except that I have several in my junk box, and you need only one fixed USB wire, not 5 moving wires.
A Webcam that can get you within .1" can be used in conjunction with a touchplate. Use the webcam to get close using rapids, then touch off for final accuracy.
I have not pursued this, since I have lots of other machine improvement projects in play. (I added the limit switches, but I would still prefer to use the camera.)
I'm sure I can do the vision, how much others are willing to help in this and other areas will largely decide the feasibilty/outcome.
I can help with HAL stuff, but I only really know how to do realtime code in C. I am trying to pick up Python, though.
I'm happy once I've got myself a 'framework' that will sit well with EMC, if such a thing is available it would be great - alternatively I'll publish something that does when we arrive there.