I have an OpenMV H7 camera who's output I need to read into OpenCV. Now, the serial output is ttyACM0 where I am able to stream image frames. How can I read these frames in c++ code? I cannot use cv::VideoCapture() as the camera is not recognized as a video device. Serial libraries for C++ that I've found so far are quite messy. I am able to do this on python using serial library. Any help in reading into c++ would be valuable.
            Asked
            
        
        
            Active
            
        
            Viewed 182 times
        
    1
            
            
        
        roadrunner66
        
- 7,772
 - 4
 - 32
 - 38
 
        heisenburg007
        
- 73
 - 1
 - 3
 - 7
 
- 
                    How do you access the images using python? In C++ you can just `open` the `/dev/ttyACM0` device and read/write from/to it as if it would be a normal file. – MSpiller Dec 11 '19 at 12:39
 - 
                    Yes, but I'm unable to find any good resources for help. It would be great if you could point me to somewhere reliable. – heisenburg007 Dec 12 '19 at 07:45
 - 
                    What about the Library for the Camera? Source code is publicly available. – MSpiller Dec 14 '19 at 17:46