basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
567 stars 207 forks source link

How to Record a Video and Preview the Screen in Real Time #632

Open Achuan-2 opened 1 year ago

Achuan-2 commented 1 year ago

I am using BASLER acA1440 - 220 um. I want to use the camera to record a Video and preview the screen in real time just like pylon viewer Could you give me some help or advice?

image

Although I used C++programming and the preview screen got stuck, I couldn't stop recording halfway like the official software did image

SMA2016a commented 1 year ago

The pylon viewer does not show the video, instead of it shows the grabbed image, same like the sample code demonstrates. But the pylon viewer a multi threading application.

thiesmoeller commented 1 year ago

For a camera that can generate 220fps and a display that'll show at 60fps you always need a decoupler that will subsample the incoming stream.