Skip to content

kshunterco/Teledyne-FLIR-OpenCV-VideoCapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

for cv2.VideoCapture, you:

  • Instantiate the VideoCapture object vc = VideoCapture(cam_id)
  • While looping, read frames ret, frame = vc.read()
  • Close it down at the end vc.release()

With this thing, you:

  • Instantiate a FLIR_cam object mycam = FLIR_cam() (can only handle one camera!)
  • While looping, read frames frame = mycam.acquire_image()
  • Close it down at the end mycam.close_camera()

Given a Teledyne/FLIR camera has a lot of config options, you can modify the function setup_acqusition() below the object as you need, but it worked fine as-is for me.

About

When I started using a Teledyne/FLIR camera I wanted a relatively easy drop-in object to replace the cv2.VideoCapture object. So I took their AcquireAndDisplay.py and hacked this thing up. If it helps, great, if you find improvements, great, lemme know!

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages