开发者

Tricking libdc1394

开发者 https://www.devze.com 2023-02-11 04:12 出处:网络
I have a third party vision library that would only work with a firewire camera, is it possible to somehow trick libdc1394 into thinking that there is a fire开发者_开发百科wire camera connected but pa

I have a third party vision library that would only work with a firewire camera, is it possible to somehow trick libdc1394 into thinking that there is a fire开发者_开发百科wire camera connected but pass frames from a usb webcam via v4l?


Given that stackoverflow is about programming...

You cannot trick libdc1394 however you can write a library that exposes exactly the same API as libdc1394 and use this as a shim over a USB webcam library. Since this is Linux you can start from the source of libdc1394 which will be a lot easier than reverse engineering.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号