comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » DLM for video capture
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
DLM for video capture [message #90668] Sun, 22 March 2015 08:47 Go to next message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
Dear Folks,

I've written a DLM that captures images from video cameras directly
into IDL. The library is available for download at

http://github.com/davidgrier/idlvideo

Video capture functionality is provided by OpenCV, the Open Source
Computer Vision library. The DLM and associated camera objects should
work for any camera that is supported by OpenCV. This package has
been tested with IDL 8.3 and IDL 8.4 running on linux and MacOS systems.

On my MacBook Pro, the following code snippet acquires and displays
3 seconds of 1280 x 720 RGB video images at 30 frames per second
using the built-in FaceTime camera:

cam = dgggrvideo()
im = image(cam.read())
for i = 0, 89 do im.putdata, cam.read()
obj_destroy, cam

Let me know if this is useful, and please do follow up with feature
requests and bug reports.

All the best,

David
Re: DLM for video capture [message #92498 is a reply to message #90668] Fri, 01 January 2016 02:55 Go to previous messageGo to next message
andrewcool777 is currently offline  andrewcool777
Messages: 27
Registered: November 2012
Junior Member
On Monday, 23 March 2015 02:17:13 UTC+10:30, David Grier wrote:
> Dear Folks,
>
> I've written a DLM that captures images from video cameras directly
> into IDL. The library is available for download at
>
> http://github.com/davidgrier/idlvideo
>
> Video capture functionality is provided by OpenCV, the Open Source
> Computer Vision library. The DLM and associated camera objects should
> work for any camera that is supported by OpenCV. This package has
> been tested with IDL 8.3 and IDL 8.4 running on linux and MacOS systems.
>
> On my MacBook Pro, the following code snippet acquires and displays
> 3 seconds of 1280 x 720 RGB video images at 30 frames per second
> using the built-in FaceTime camera:
>
> cam = dgggrvideo()
> im = image(cam.read())
> for i = 0, 89 do im.putdata, cam.read()
> obj_destroy, cam
>
> Let me know if this is useful, and please do follow up with feature
> requests and bug reports.
>
> All the best,
>
> David

> please do follow up with feature requests and bug reports.

OK then David, how about a version for Windows...?

Andrew Cool (who's too dumb to do it himself...)
Re: DLM for video capture [message #92504 is a reply to message #92498] Sat, 02 January 2016 06:24 Go to previous message
zanderman.grier is currently offline  zanderman.grier
Messages: 2
Registered: September 2015
Junior Member
On Friday, January 1, 2016 at 5:55:15 AM UTC-5, andrew...@gmail.com wrote:
> On Monday, 23 March 2015 02:17:13 UTC+10:30, David Grier wrote:
>> Dear Folks,
>>
>> I've written a DLM that captures images from video cameras directly
>> into IDL. The library is available for download at
>>
>> http://github.com/davidgrier/idlvideo
>>
>> Video capture functionality is provided by OpenCV, the Open Source
>> Computer Vision library. The DLM and associated camera objects should
>> work for any camera that is supported by OpenCV. This package has
>> been tested with IDL 8.3 and IDL 8.4 running on linux and MacOS systems.
>>
>> On my MacBook Pro, the following code snippet acquires and displays
>> 3 seconds of 1280 x 720 RGB video images at 30 frames per second
>> using the built-in FaceTime camera:
>>
>> cam = dgggrvideo()
>> im = image(cam.read())
>> for i = 0, 89 do im.putdata, cam.read()
>> obj_destroy, cam
>>
>> Let me know if this is useful, and please do follow up with feature
>> requests and bug reports.
>>
>> All the best,
>>
>> David
>
>> please do follow up with feature requests and bug reports.
>
> OK then David, how about a version for Windows...?
>
> Andrew Cool (who's too dumb to do it himself...)

Sorry, I don't have a Windows machine, and don't know much about
Windows development -- weird, right?

Ronn Kling had a DLM for video capture under Windows, although
I don't have a link for it, and couldn't find it with a quick Google
search. That might be the best place to start looking.

If you're feeling more adventurous, you might want to look at
IDL's support for ActiveX controls.

TTFN,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Opening and read .dat file double format
Next Topic: IDL help?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:14:26 PDT 2025

Total time taken to generate the page: 0.00351 seconds