On Sunday 31 January 2016 07:48:43 Fox Mulder wrote: > Am 30.01.2016 um 02:10 schrieb Gene Heskett: > > On Friday 29 January 2016 16:52:58 Gene Heskett wrote: > >> On Friday 29 January 2016 15:01:16 Fox Mulder wrote: > >>> Am 29.01.2016 um 04:49 schrieb Gene Heskett: > >>>> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote: > >>>>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote: > >>>>>> Am 26.01.2016 um 18:00 schrieb Gene Heskett: > >>>>>>> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote: > >>>>>>>> Am 26.01.2016 um 13:20 schrieb Gene Heskett: > > > > Now I have, and I believe it will do. Best native resolution is > > 1280x1024, and while the lens isn't focusable, and an lsusb -vv > > shows anything that includes focus a 0, it appears its best focus is > > at about 54mm's, not too bad a distance for this sort of machine > > vision duties. > > > > I turned off the lights and came in here, which means it was running > > on its teeny little led ring around the lens for 99% of its light, > > and took this screen snapshot attached (if it passes the server). > > That line at an angle in the lower right half of the pix, is the > > edge on view of a .0015" feeler blade. Better than I recall the > > older one doing, and more than adequate for most of what I do. > > > > It does I believe, need a power switch, its getting rather warm, too > > warm IMO so I'd better put it close contact with the bore of a > > couple cubic inchs of alu.
That heat, FWIW was coming from its illumination LED's, turned down to about half, its as cool as can be the next morning. > > With that dim a light, thermal noise > > shows, and the frame rate looks to be 3 or 4 fps. With the overhead > > lights on, it is making about 26 fps in that resolution. No > > compression in the camera at that raw resolution, so the usb port is > > moving data well. > > > > Next question: Do we have in the linux toolbox, a utility that can > > show the camera output, and give me a bunch of buttons to configure > > a camera in real time? > > I updated my script a bit to use the python TKinter gui framework with > opencv. The result is a little gui with buttons and a menu to change > settings on the fly. But the framerate is not as high as native opencv > viewer. This script is also just a little example what could be done > and by no means the best coding practice. ;) > > Here is the new script which needs a few new python packages > installed. For me in debian it was python3-pil, python3-pil.imagetk, > python3-tk. I hope they are available in wheezy. Checking now. The first 2 are not. 3.2.3 Compatible deb's? URL IOW. python3-tk now installed. > http://pastebin.com/YaCqLNzz Got it, thank you. In the previous script this new camera does 1280x1024 natively so I updated that in the two places shown as 960. That worked well except the bottom of the display was clipped off. So I need to find where I can expand the display window for that setting. > > Don't know if it is possible to integrate TKinter guis into LinuxCNC > or if another gui framework would be the better choice. AIUI, much of axis is tkinter grfx. So I expect it can be done, but I don't know how. > Ciao, > Rainer The attached .jpg looks very impressive. If I can get it to run on wheezy, I am thinking the separate display screen might not be a huge show-stopper as I believe I can setup all the HAL-MDI stuff to make it work even if its screen isn't bound to the axis gui, the gui buttons driving the usage are or can be, and that is the bottom line. I wasn't in love with the shrunken images I got by its being shrunk to fit in the backplot window of axis, so we'll see how this works once I locate the missing python stuff. Thank you very much Rainer. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users