I'm working up an open source sample for Microsoft's new IoT Edge platform w/ Raspberry Pi to do computer vision etc on the actual raspberry pi without any cloud comms (aside from firmware updates and dev ops process).
Anyways, It appears I'm having issues getting access to the raspberry pi's raspbistill capabilities. I've even logged into the container on the pi and tried to just use the cmd line raspistill to no effect.
The code is written in nodejs using the node-raspistill and pixel-getter npm packages. I launch the container with --privileged (I'll scope it back later).
Below is the dockerfile:
running the container with the following cmd: "docker run --privileged -it picamera /bin/bash" and then attempting to execute the commands:
Code: Select all
FROM resin/rpi-raspbian:jessie RUN apt-get update -y RUN apt-get upgrade -y RUN apt-get install -y wget RUN usermod -a -G video root WORKDIR /usr/src/app RUN wget http://node-arm.herokuapp.com/node_latest_armhf.deb RUN sudo dpkg -i node_latest_armhf.deb COPY package*.json ./ RUN npm install COPY . . CMD ["node", "app.js"]
"/opt/vc/bin/raspistill -vf -hf -o cam1.jpg" or "raspistill -vf -hf -o cam1.jpg" gets me: "No such file or directory".
I'm pretty sure if I can find raspistill and get it added to the path the nodejs wrapper library will start working. Any tips or hints are greatly appreciated. I've been digging through random dockerfiles on github to no avail thus far.