Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infragram + web-based RPi Cam software for use with Raspberry Pi camera #40

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jywarren
Copy link
Member

@jywarren jywarren commented Oct 25, 2018

(this is a working branch related to #37)

Thanks for opening a pull request! In this repository, opening a PR will initiate the generation of a new Raspberry Pi image, and create an image file you can download and use in your Raspberry Pi.

The changes you add to the pull request, such as adding software to install, will be run on the generated image.

For an example, see the software installed and configured in this pull request: https://github.com/publiclab/image-builder-rpi/pull/15/files

Recipe

Use this space to describe what your "recipe" is intended to install and configure on a Raspberry Pi:

This runs the Infragram multispectral image processing system on board the Pi, sourcing video from the Pi camera, live! Exciting 🛰 🌱 📸 :

screen shot 2018-10-26 at 4 07 59 pm


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:

#16

Thanks!

@jywarren
Copy link
Member Author

Squashed this to make it more compact!

@jywarren
Copy link
Member Author

jywarren commented Oct 29, 2018

We should make the gain and auto white balance static: https://elinux.org/index.php?title=RPi-Cam-Web-Interface#Configuration by editing this file:

https://github.com/publiclab/pi-builder/blob/infragram-camera/builder/files/etc/rpicam_config.txt

Update: that actually edits the installer, but to change camera settings on startup, use:

https://elinux.org/index.php?title=RPi-Cam-Web-Interface#RaspiMJPEG

by editing /etc/raspimjpeg

@jywarren
Copy link
Member Author

@jywarren
Copy link
Member Author

jywarren commented Nov 2, 2018

Rebuilding with some additional changes!

@jywarren
Copy link
Member Author

jywarren commented Nov 9, 2018

it's building!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants