balena-io-library / base-images

Balena base images
https://docs.balena.io/reference/base-images/base-images/#balena-base-images
Apache License 2.0
222 stars 85 forks source link

Create a base image with OpenCV #387

Open LucianBuzzo opened 6 years ago

LucianBuzzo commented 6 years ago

We're seeing this come up frequently in support. Being able to provide a base image that already contains OpenCV would be great

sgtwilko commented 5 years ago

I have been publishing OpenCV images for a little while based off the resin Raspbian images. Feel free to grab my docker files and modify (i.e., clean up and make them pro grade!) to have a base image.

See here: SgtWilko/rpi-raspbian-opencv

JeffJassky commented 5 years ago

@LucianBuzzo I would also love to see this. Compiling OpenCV takes about 8 hours.

@sgtwilko Thanks for sharing this! I don't suppose you have any builds on Buster yet?

sgtwilko commented 5 years ago

Hi Jeff,No I find the OpenCv compilation process fraught with issues where the RPi will freeze.This is more frequent with the balena images than the resin images (no idea why!)As such I'm a bit behind on updating to Buster.I have acquired a RPi 4 4GB which should speed things up.Keep an eye on the docket hub.SgtWilko.On 12 Aug 2019 19:24, Jeff Jassky notifications@github.com wrote:@LucianBuzzo I would also love to see this. Compiling OpenCV takes about 8 hours. @sgtwilko Thanks for sharing this! I don't suppose you have any builds on Buster yet?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

sgtwilko commented 5 years ago

@JeffJassky I've pushed a Buster image to a test docker hub repo: https://hub.docker.com/r/sgtwilko/balenalib-rpi-raspbian-opencv

I've not had a chance to test it yet, if you do get a chance, can you let me know if it works.

Thanks