Commit Graph

4 Commits (6cf8391b7663b3e4e8ab4faea78c753bde698fcb)

Author SHA1 Message Date
Peter Johnson 6cf8391b76
Simplify OpenCV cmake flags (#104)
Now that we're building in a more standard way it's not necessary to
manually override these.  The only override kept is to build jpeg (as
we are tweaking it to not output JPEG decompression errors).
2019-02-11 01:37:13 -08:00
Peter Johnson 4c3f217ffa
Build libraries with Release (#103)
In particular, OpenCV has a significant performance difference (14x) on key
operations (RGB to HSV conversion) between -O2 and -O3.
2019-02-11 01:35:54 -08:00
Peter Johnson 01f025ac12
Add libpixy2 (C++ and Python) to image (#85) 2019-02-09 21:52:28 -08:00
Peter Johnson c85fd9f33c
Revamp image to build dependencies as part of stages (#83)
Fixes #17.

Stage 2 is fairly minimal, stage 3 builds/installs OpenCV and WPILib et al, and stage 4
builds/installs the FRCVision webdash and adds the vision examples.

Other changes:
- OpenCV compiled with ffmpeg, OpenBLAS, and libgtk (fixes #79, fixes #80)
- OpenBLAS added to image (fixes #65)
- C++ Makefile is more easily extensible (fixes #71)
- Sources for everything are bundled into image into /usr/src
- README updated (fixes #16)
- pkg-config files for wpilibc et al are now installed and C++ Makefile uses them (if compiled local to Pi)
- Both dynamic and static libs are included in image

The only downside of all these changes (particularly the ffmpeg, OpenBLAS, and libgtk inclusion)
is the image size is now over 3GB (800MB compressed). The previous image didn't quite fit on a
2GB card however.
2019-02-02 23:37:18 -08:00