Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

EmguCV VideoCapture from File on Android

$
0
0
I have a problem using EmguCV to load a file in VideoCapture constructor. The constructor always return some empty VideoCapture and calling QueryFrame always return null. Did Anyone Have similiar issues ? What am i doing wrong ? Here is some Code snippet from my exampleProject: var file = await CrossMedia.Current.PickVideoAsync(); /.../ _localCapture = new VideoCapture(file.Path); _localCapture.Start(); _localCapture.ImageGrabbed += _localCapture_ImageGrabbed; /.../ bool GrabResult = _localCapture.Grab(); Mat frame = _localCapture.QueryFrame(); UpdateConsole("Video Selected Location: GRAB TEST RESULT " + GrabResult); Link to the ExampleProject : [link text](https://drive.google.com/file/d/0B8yxP5sipWvqd0xFMjNIVjlJWE0/view?usp=sharing ) in the project is //TODO line where is the Emgu code If you are reading this thanks you for stoping by. Any thoughts about possible mistakes in code would be helpfull.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>