Commit Graph

10 Commits

Author SHA1 Message Date
Peter Johnson
aa0a7d8666
Fix pixy2 python build (#116) 2019-02-18 01:23:18 -08:00
Peter Johnson
3f1dc37384
Disable ffmpeg in OpenCV due to Java crash (#115)
See https://github.com/opencv/opencv/issues/10080
2019-02-18 01:22:24 -08:00
Peter Johnson
5709982297
Revert "Install published pynetworktables wheel from PyPI (#86)" (#114)
This reverts commit 88e237e28d.
2019-02-17 23:11:00 -08:00
Peter Johnson
75a5a20f74
Update wpilib to 2019.3.2 and robotpy-cscore to 2019.0.1 (#111) 2019-02-17 21:23:18 -08:00
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