Posts: 7
Joined: Sun Oct 22, 2017 9:08 pm

OpenCV Camera Error with RPi-Cam-Web-Interface

Tue May 08, 2018 4:13 pm

Hi i am trying to create a face recognition program using OpenCV with the official Pi camera module v2.

The camera was working fine with my OpenCV Python programs before installing and using RPi-Cam-Web-Interface (https://elinux.org/RPi-Cam-Web-Interface) which i am using for another purpose.. though has since stopped working with OpenCV/python and all of my Python face recognition programs fail to work. I am getting "mmap: No such device" and "munmap: Invalid argument errors".

I understand and read (here: viewtopic.php?t=63276) that the even raspistill won't work when RPi-Cam-Web-Interface has started the camera, after stopping this service, raspistill works and I am able to initate the camera and take photos but it is still not working with my OpenCV.. I am getting those errors mentioned and have attached a screenshot.

I thought it may be something to do with memory or processes but I'm not sure?

Can someone please help?

Thank you!
error message pi.png
error message pi.png (133.73 KiB) Viewed 451 times

Return to “Camera board”