This code below allows users to capture raw boson frames using opencv on windows and linux. This will work in any language that has opencv bindings. This has been tested in c# (emgucv) and python (opencv-python). Here is an example in python. In other languages, setting the same properties will give you 16-bit raw. The main difference between windows and linux is that you have to force the DirectShow backend in windows.

Requirement (from terminal/command) pip install opencv-python.

In Windows

On Linux

If you have any doubts or questions, please contact us.