Message Boards Message Boards

Avoid error while using DeviceRead["RaspiCam"] ? (Mathematica 11.0.1)

Posted 7 years ago

In Mathematica 11.0.1 I typed

DeviceRead["RaspiCam"]

and received the error message "Error enabling camera-preview".

I ran in a terminal using sudo Mathematica and got a number of error messages the first of which is shown below:

mmal: mmal_VC_component_enable: failed to enable component: ENOSPC  Output port couldn't be enabled.

How do I fix this?

POSTED BY: Jerry G
3 Replies
Posted 5 years ago

Hi Jerry, Did you manage to fix the issue? I am using Mathematica (11.3.0) on the Pi and I am having the same issue. The camera works with Python 3, however, I DeviceRead is unable to access it.

POSTED BY: Arun Sharma
Posted 5 years ago

Arun, sorry that I do not know the answer since I have ceased development with RPi. Jerry.

POSTED BY: Jerry G

I got the same message, The Python 3 code that was reference worked great, got a preview and worked as advertised.

POSTED BY: Alfred Holzheu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract