Message Boards Message Boards

1
|
5035 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Get image from Raspberry Pi Camera with Mathematica

Posted 4 years ago

Hi,

I'd like to capture and process video frames using the Raspberry Pi High Quality Camera with Mathematica on the Raspberry PI 4 8GB.

The camera is connected to the camera port.

I am able to capture images and videos using the raspistill and raspivid commands, but not within Mathematica.

Output of $Version is: 12.0.1 for Linux ARM (32-bit) (June 23, 2019)

The following commands return no output:

$ImagingDevices 
Devices[]
FindDevices[]

ImageCapture[]
DeviceRead::raspiCamError: Error enabling camera-preview

Output of the linux command:
v4l2-ctl --list-devices is: bcm2835-codec-decode (platform:bcm2835-codec): /dev/video10 /dev/video11 /dev/video12

mmal service 16.1 (platform:bcm2835-v4l2): /dev/video0

Thank you,

Ed.

POSTED BY: E D
Posted 4 years ago

uname -r

4.19.118-v7l+

cat /etc/os-release

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUGREPORTURL="http://www.raspbian.org/RaspbianBugs"

POSTED BY: E D
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