Windows上使用Firewire摄像机的OPENCV(IEEE1394)

发布于 2025-01-31 21:56:41 字数 1284 浏览 4 评论 0 原文

我已经阅读 wireWire 1394摄像头,带有OpenCV 带有OPENCV 2.4的FireWire摄像头。不工作,但到目前为止,我还没有发现工作解决方案。

如何使用OpenCV?在Windows上打开FireWire DC1394相机,

我使用 pip install opencv-python 安装了它。是否有要安装的特定版本的OPENCV版本可以在Windows上使用LibDC1394?

此代码:

import cv2  
cam = cv2.VideoCapture(cv2.CAP_FIREWIRE + 0)      # like in https://answers.opencv.org/question/203165/opencv-3-python-3-firewire-cameras/
# or is it this instead:
# cam = cv2.VideoCapture(0, cv2.CAP_FIREWIRE)
while True:
    ret_val, img = cam.read()
    cv2.imshow('test', img)
    if cv2.waitKey(1) == 27: 
        break  # esc to quit

找不到任何设备。是否有一些特定的东西可以使用Windows的OpenCV Python打开Firewire摄像机?

(另请参见此 opencv.org 问题)

I have read Firewire 1394 camera with OpenCV, Firewire camera with OpenCv 2.4. not working, ctypes error: libdc1394 error: Failed to initialize libdc1394 but I have found no working solution up to now.

How to open a Firewire dc1394 camera on Windows with OpenCV?

I installed it with pip install opencv-python. Is there a specific version of OpenCV to install to use the libdc1394 on Windows?

This code:

import cv2  
cam = cv2.VideoCapture(cv2.CAP_FIREWIRE + 0)      # like in https://answers.opencv.org/question/203165/opencv-3-python-3-firewire-cameras/
# or is it this instead:
# cam = cv2.VideoCapture(0, cv2.CAP_FIREWIRE)
while True:
    ret_val, img = cam.read()
    cv2.imshow('test', img)
    if cv2.waitKey(1) == 27: 
        break  # esc to quit

does not find any device. Is there something specific to be able to open FireWire cameras with OpenCV Python for Windows?

(see also this opencv.org question)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文