After making project on Rpi I receive this error after calling VideoCapture c(0) (I think...)

Am I referencing the Pi NoIR camera incorrectly? Or am I missing or have I incorrectly installed gstreamer?


(process:1403): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

Eventually it will spit out this:

terminate called after throwing an instance of 'std::bad_alloc'
     what(): std::bad_alloc

Let me know if you want more info

src files https://github.com/ianzur/mazuMedical

The problem is with the server

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.