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 
Return to the default flat view Create a new topic Submit Reply
DLM for video capture [message #90668] Sun, 22 March 2015 08:47 Go to previous 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
[Message index]
 
Read Message
Read Message
Read Message
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 09:18:44 PDT 2025

Total time taken to generate the page: 0.00397 seconds