Display video from a drone FPV camera
Hi,
Firstly, I'm sorry but my English is not the best.
Shortly about my project: I've created a drone with an Arduino and an NRF24. I write a really simple program in Java. It sends control data to the drone via NRF24 from my laptop (I would like to create an Android app too). I would like to take an FPV camera for the drone and display its video in my program and later try to do some cool stuffs with OpenCV.
I founded a good tutorial to transmit and receive the video from FPV. However, the problem is, that I receive analog signal. My question is that if I buy an EasyCap (or something similar videodigitalizer) and connect it to my laptop can I display the video with OpenCV? If yes, how is that possible?
OpenCV supports and autodetects all capture devices that are compatible with Video4Linux, DirectShow,VideoForWindows (and equivalent for Mac). EasyCap should be therefore you can easily grab from it with OpenCV. If a device don't has a driver for one of the mentioned video layer, it can be used in OpenCV but is required some additional code to wrap the native image into cv::Mat
Oh. So, if I plugged in to the USB the EasyCap, I can grab it only with this line of code: VideoCapture camera = new VideoCapture(0); ? And after that, I can use it?
EasyCap should be compatible with DirectShow therefore you can use VideoCapture
how did you control the drone with nrf24 from computer?