Commit Graph

6 Commits

Author SHA1 Message Date
David Vo
88e237e28d Install published pynetworktables wheel from PyPI (#86)
Avoids having to create a (potentially incorrect) version.py manually.

Uses pip to install to generate and install the *.pyc (bytecode) files.
2019-02-17 18:14:57 -08:00
Peter Johnson
33ff927f3d
Install gstreamer (#105)
This also builds OpenCV with gstreamer support.
2019-02-15 22:00:40 -08:00
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