Problem to implement computer vsion

Hello,

I’m currently trying to implement a barcode detector on my anafi drone. For the moment i succed to get the stream of the drone on my computer but I don’t know how to use the stream with openCV to realize my detector.
I realized a barcode detector with the camera of my computer but I can’t access the anafi camera.

Did somebody have an idea or a solution about that ?

Thank’s for your answer