On 2014-12-05 06:01, sam sokolik wrote: > Finally got some time to take a video.. The implementation is pretty > embarrassing.. > > Small hal file that runs opencv - sets some parameters for the > houghcircle finder, bluring and some tolerances.. > > Gcode program tells the hal component to find a circle > Hal componant finds circle and sets hal pins of its location > Gcode program continues and reads the position from the hal pins. > Gcode program calculates how much to move to center the frame > > I am not too impressed with the houghcircle function. I think it should > work better but might not understand it. > > The view is about .001"/pixel the circle is .25" diameter > > http://youtu.be/Pe2RACwiEbg > > I will post the hal file and gcode program when I get back to it. > > sam > Sam this is looking good. I am watching this thread with keen interest as I will be doing a pick and place machine in the new year.
> > On 10/07/2014 01:06 PM, sam sokolik wrote: >> in the future one of my projects is shape recognition. I have been >> wanting to play with it for a while now. >> >> bari on irc mentioned >> https://github.com/firepick1/FireSight/wiki/firesight >> which is based on opencv. I installed it and it seems to work as >> expected. you can use a command line to test pipelines. It uses a c++ >> library and json for communication. It is mainly used for pick and >> place machines. >> >> I wanted to play with python and found that opencv natively has a python >> wrapper.. (I may not be using the terms correctly) >> >> so I created a small program (mainly a copy and paste from some examples) >> >> http://pastebin.com/AUKgyhAh >> >> it takes video from input 0 (my web cam) looks for circles that are >> between 10 and 15 pixels radius and draws a bulls eye. >> >> http://electronicsam.com/images/KandT/testing/Screenshot%20from%202014-10-07%2011:27:48.png >> >> this is my first real exposure to python. the next step is to see how I >> can fidldle hal stuff with it.. >> >> This seems like it would have some real applications. There are >> different detectors - circles are just one of many.. >> >> sam >> >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users