grabbing frames from a camera and show the output
play

Grabbing frames from a camera and show the output Technische - PowerPoint PPT Presentation

Technische Universitt Mnchen OpenTL Tutorial 1 Grabbing frames from a camera and show the output Technische Universitt Mnchen HighAPI Input Detector Tracker Output Visual Modalities Model Projection Models CvProcess


  1. Technische Universität München OpenTL – Tutorial 1 • Grabbing frames from a camera and show the output

  2. Technische Universität München HighAPI Input Detector Tracker Output Visual Modalities Model Projection Models CvProcess Core Math

  3. Technische Universität München Input – Image Sensors • Video-File • USB-Camera • Firewire Camera → in this tutorial we use Guppy firewire cameras from ALLIED vision technologies

  4. Technische Universität München Firewire Camera • Create an instance of a camera: → input::FirewireCamera::createFirewireCamera(0) ‏ • Open the camera → camera->open(); • You can set some features of the camera → camera->enableWhiteBalanceAuto(true) → camera->enableGainAuto(true) ‏ • Start the frame-grabbing: → camera->captureStart()

  5. Task – capture from a Firewire camera Technische Universität München • Create a camera (as explained before) • Define a cvdata::Image pointer srcImage • Create an OpenCV Window: → cvNamedWindow("image",1); • Loop: → captureNext() → getImage() → show Image with OpenCV: cvShowImage("image",srcImage->getIplImage()); • Stop the frame capturing, close the camera → stop() → close()

Recommend


More recommend