点灰蝇捕捉2的cython绑定。
pyflycap2的Python项目详细描述
为flyCapture2库提供python绑定的项目 点灰色。
有关详细信息:http://matham.github.io/pyflycap2/index.html
安装:http://matham.github.io/pyflycap2/installation.html
警告
由于许可限制,无法重新分发Fly Capture dll, 因此,控制盘只包含编译的绑定。使用,捕捉苍蝇 必须单独提供dll,例如将它们放置在系统路径上。
示例
列出GigE摄像头:
cc=CameraContext()cc.rescan_bus()print(cc.get_gige_cams())# prints list of serial numbers.
使用图形用户界面配置:
gui=GUI()gui.show_selection()
从相机读取图像:
c=Camera(serial=cam_serial)c.connect()c.start_capture()c.read_next_image()image=c.get_current_image()# last imagec.disconnect()