Should be no problem to change the script I posted to trigger
image capture from a hal pin rather than continuously capturing.

-- Ralph
________________________________________
From: Viesturs Lācis [[email protected]]
Sent: Monday, October 28, 2013 6:49 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Technical vision

I would prefer running the vision software (opencv) and LinuxCNC on the
same pc.

So do I understand correctly that my best option is userspace component
that reads the coordinates from vision software and export them as HAL pins
and then access those pins from g-code?
Can I use reverse sequence to request recapturing the webcam image?

--
Viesturs


2013/10/28 Roland Jollivet <[email protected]>

> Not exactly what you want, but if you're prepared to run the vision
> software on a windows box, it could pass all the parameters to you over a
> com link.
>
> See Roborealm.com for a versatile low cost program.
>
> Roland
>
>
>
> On 26 October 2013 14:20, Viesturs Lācis <[email protected]> wrote:
>
> > Hello!
> >
> > I have a guy from university that is doing internship in my company. I
> gave
> > him a task to use opencv and write a script that would recognize a part
> in
> > webcam capture and provide a coordinate of particular feature of part
> > (center of a hole in part or whatever) and angle of part's orientation.
> > That script is running in terminal and it shows the coordinates and the
> > angle.
> >
> > I think there are few guys on this mailing list that have played with
> > computer vision, so I would appreciate if you could share some hints, how
> > are the coordinates of the captured part communicated to LinuxCNC and how
> > LinuxCNC requests capturing next part. I would appreciate some links that
> > explain, how others have done that, my attempts at searching the web did
> > not provide any meaningful results.
> >
> > --
> > Viesturs
> >
> >
> ------------------------------------------------------------------------------
> > October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> > from
> > the latest Intel processors and coprocessors. See abstracts and register
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to