Re: (Lisp-HUG) Video...
Hello Robert -
I appreciate hearing from you.
We really need megapixel type streaming video from a high-end webcam
such as the Logitech C920, which has up to 10-megapixel resolution;
hardware pan/tilt/zoom (under software control) as well as autofocus
- and Carl Zeiss/Germany glass optics.
The streaming rate is not very important - even as slow as a couple
frames/second displayed on a CAPI pane would be fine. The object
that we are videoing/analyzing has a slow rate of movement.
Regards to the List -
Jack Harper
Secure Outcomes Inc
Evergreen, Colorado USA
At 11:20 AM 7/1/2013, Robert Smith wrote:
>Hey Jack:
>
>Getting video from a webcam in Windows would be quite easy if you
>don't mind the resolution being limited to 640x480. (Remember that
>only recently did we get these mega hi-def video streams. Lots of
>camcorders still operate at that resolution or lower!)
>
>It would require writing a small core using VFW (Video For Windows) in
>C which captures the images and sends them to the Lisp space, where
>they could get copied or whatever.
>
>Specifically, you would do something roughly like this:
>
>1. Initialize camera
>
>2. Picture loop
>
> a. Grab a frame
>
> b. Copy the frame in the C side
>
> c. Send that pointer to the Lisp world.
>
> d. Process frame (paint it, save it, buffer it, whatever)
>
> e. Destroy it.
>
>3. Uninitialize camera
>
>4. Disconnect (in software) the camera.
>
>
>There are a few gotchas with synchronization, but they're relatively simple.
>
>I hope this helps.
>
>Regards,
>
>Robert
>
>On Mon, Jul 1, 2013 at 7:36 AM, Jack Harper
><jharper@secureoutcomes.net> wrote:
> >
> > Greetings to the List...
> >
> > Has anyone received webcam streaming video from within LispWorks?
> >
> > Are there any libraries that do that out there? I have looked, but see
> > nothing apparent.
> >
> > The obvious approach is to surround the MicroSoft "DirectShow", which
> > apparently does that sort of thing, with FLI wrappers and all that - but,
> > Wikipedia says about DirectShow: "It is regarded as one of
> Microsoft's most
> > complex development libraries/APIs."...
> >
> > There has to be a better way...
> >
> > Thoughts?
> >
> > Regards,
> >
> > Jack Harper
> > Secure Outcomes Inc.
> > Evergreen, Colorado USA
> >
> > ps - What I am looking to do is "simple": Display streaming webcam video in
> > a CAPI pane - occasionally grab a frame and process it...
> >
> >
> >
> > _______________________________________________
> > Lisp Hug - the mailing list for LispWorks users
> > lisp-hug@lispworks.com
> > http://www.lispworks.com/support/lisp-hug.html
> >
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html