publiclab / pi-builder

Developing a reproducible build script system for making Raspberry Pi .img files
MIT License
22 stars 15 forks source link

Add web-based RPi Cam software for use with Raspberry Pi camera #13

Open icarito opened 6 years ago

icarito commented 6 years ago

This recipe installs a web-based interface to the Raspberry Pi camera:

https://github.com/silvanmelchior/RPi_Cam_Web_Interface/

It will appear on startup, accessible over WiFi network 00-PiCamera.


Download instructions

Generating the image will take a few minutes. Once the image is prepared, and if it succeeded, you'll see a green checkmark at the bottom of the pull request. To download the image:

  1. click the green checkmark; you'll go to a page at a URL like https://gitlab.com/publiclab/image-builder-rpi/pipelines/########/builds
  2. On this page, click the Jobs tab, next to Pipeline
  3. Click the green Passed button
  4. Click Download in the right-hand sidebar
  5. Unzip the artifacts.zip file, and also the hypriotos-rpi-camera_web.img.zip within it
  6. Use a program like https://etcher.io/ to flash it to an SD card

You'll also be able to read the output of the image generation in this window.

We hope to create a bot to report back the completed image URL in each pull request. If you can help create such a bot, please contact us at:

https://github.com/publiclab/image-builder-rpi/issues/16

Thanks!

icarito commented 6 years ago

I've tested this and it's working! The video was recording but not transcoding to MP4 because of a missing package. Adding it now!

icarito commented 6 years ago

The issue with videos is reported here https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/442 where I've shared my observation of the missing package.

jywarren commented 6 years ago

Flashing this now!

jywarren commented 6 years ago

It works! screen shot 2018-09-24 at 11 32 42 am screen shot 2018-09-24 at 11 43 32 am

jywarren commented 6 years ago

Here's the output image! https://gitlab.com/publiclab/image-builder-rpi/-/jobs/102770549/artifacts/download

Test it out with http://etcher.io