Accessing a camera-linked X1 mini PCIE camera
Hi guys,
I'm currently using a specialized camera (OWL 320 Raptor Photonics). I'm attempting at connecting it with OpenCV, but I guess the protocol is not as straightforward as it could be with a simple USB-connected type.
I've tried it by changing the values from 0-2 in the following line:
VideoCapture capture(0);
And it doesn't detect the feed. It works fine with my old webcam, for the record.
The camera is run by a specialized software called XCAP. This software runs well, no issues, and I get the feed just fine.
I'm using OpenCV 4.1.1 with Visual Studio C++ 2019.
Is it still possible though?
Thanks. Vizier87
PS: The complete code is attached here: https://www.mediafire.com/file/fyl3b8...
Sorry I didn't want to clutter this query since it was quite long.
does your XCAP software come with an SDK of any kind ?
what does it mean ? involving code ?
Good question. I've sent an email to the guys in the company and see if it comes with something.
and I get the feed just fine.
I meant the feed was fine using the XCAP software. Not by using OpenCV.
once you have a pointer to the pixels, you can easily construct a cv::Mat from it (sidestepping the VideoCapture class)
And this can only be done if I have the SDK/API? Or is there a workaround?
Honestly I prefer workarounds.. VS2019 offers that flexibility.
oh, i just looked at the bottom of this and it seems, you have to pay hefty for the resp. SDK. ;(
Oh my.. Do you think there's another way?
Anyway, does the SDK enable OpenCV access to the frames grabbed?
i guess, it has some method to grab a frame, and retrieve the pixels. knowing W & H you can construct a cv::Mat from the buffer, and continue without using cv::VideoCapture
well, they have to access the cam, too ;) their software seems java based, and can be decompiled. their C based, low level dlls can be dumped too.
if you're a hacker, there's for sure a way.
I guess I'll have to record the video and then perform some dumb processing later... Sigh.
I'll see if I can still access it though.
Thanks Berak. Much appreciated.
Hi berak, I think I might have a lead: http://www.epixinc.com/manuals/pixci_...
It has something called XCLIB.
I'll try my best to understanding this section, but I'd like your opinion first: will this guide help in my endeavor?
Thanks.