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:
> > >
> > > Rainer:  Any progress on a camview-emc workalike?  I should know
> > > by tomorrow late if the camera I bought will work with v4l2 & the
> > > opencv script I have.
> >
> > I don't have much time at the moment to get the script working
> > together with linuxcnc. For me it only was a simple experiment if it
> > was possible to overlay an image on a live camera stream with means
> > of simple programming.
> >
> > > In the FWIW category, good lighting jumps the frame rate on this
> > > el-cheapo camera to something around 35 FPS.  Totally realtime,
> > > but slightly overexposed.  See's a piece of pcb copper just fine
> > > though. Blob detection works but slows the frame rate to half. 
> > > That is to be expected with the frame comparison method chosen.
> >
> > Most cameras only have their maximum frame rate with enough
> > lighting. Else they have longer exposure times to get a working
> > picture which limits the fps. But the limiting factor for the fps in
> > this case is the processing of the video. The more complex it is the
> > lower the fps will get. Blob detection is a simple example which
> > shows how much the processing power decides the final frame rate.
> >
> > Ciao,
> >      Rainer
>
> The other camera is here, but I've not had a chance to plug it in yet.
> Thanks for the update Rainer.
>
> Cheers, 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.  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?

camview-emc, when it worked 3 or 4 years ago, had all that stuff as 
expandable trees of sliders etc, overlaid over the bottom 1/3rd of the 
middle view window in axis, switch around from module to module as you 
highlighted the module.  Lots and lots of things to "play with" 

We will need some of that again, and those buttons that were used to 
calibrate the offsets for the "align" utility. They each, by MDI action, 
ran a subroutine to let you drive the mill to a zero X point, record 
that, then drive the camera to the same X point, record that, repeat for 
Y so that all 4 points were know, then subtract the two X's and the 2 
Y's and store those as the camera-on, and camera-off positions.

That, combined with align's ability to rotate the co-ordinate, meant you 
could drill a couple holes all the way thru the workpiece, measure those 
holes, and with that, make a 2 sided pcb that was in perfect 
registration even if the bottom, when it was turned over, had been 
rotated by some arbitrary amount.  Otherwise you are stuck making a very 
precise pallet to hold the board, and a boatload of G38.2's locating the 
pallet & fiddling with the co-ords by hand until it works.  With all 
that working with a camera, once calibrated, it should Just Work the 
first time everytime.

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

Reply via email to