Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.
/ cv-edu-2018 Public archive

CV education examples, work, and documentation for the 2017-18 school year. [Continuation of 2016-2017 education]

Notifications You must be signed in to change notification settings

StuyPulse/cv-edu-2018

Repository files navigation

cv-edu-2018

CV Education for the 2018 season

OpenCV needs to be installed at lib/opencv-3.2.0.

On Linux, you can install OpenCV with the install-opencv-unix.sh script. There are more detailed instructions on this in the README of github.com/Team694/stuyvision-lib. Once CV is setup, run make to compile and then make run to run the project. To set up on Windows, see windows-setup.md for instructions.

Reference

  • ReadTheDocs tutorials for OpenCV with Java (and GUIs with JavaFX).

  • Official OpenCV 3.1.0 JavaDocs. (There are no JavaDocs for OpenCV 3.2.0.)

  • Official OpenCV 3.2.0 documentation. This has much more detail than the JavaDocs, but is intended for those using OpenCV with C++. There are no examples in Java (all are C/C++).

More resources here, in stuyvision-lib.

Note:

If you're working on your own laptop and you have an installation of OpenCV 3.2.0 elsewhere on your laptop, you don't need to install it again. Instead, create a symbolic link with this command:

$ ln -s /path/to/OpenCV-3.2.0/installation lib/opencv-3.2.0

You may also do the same with your jfxrt.jar (which should be installed at /usr/lib/jvm/default-java/jre/lib/ext/jfxrt.jar if you are running Ubuntu.)

$ ln -s /path/to/jfxrt.jar lib/jfxrt.jar

Working on the school desktops

To develop on the desktops, log in to either a Guest session or your own account, then clone this repo and set up your environment:

$ git clone https://github.com/Team694/cv-edu-2018
$ cd cv-edu-2018
$ source setup-workstation.sh

As usual, use make to build:

$ make
# code compiles
$ make run
# code runs. Ctrl-C to interrupt (like force quit)

If you encounter an error while running make run similar to the one below:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /path/to/cv-edu-2018/lib/opencv-3.2.0/build/lib/libopencv_java300.so: libopencv_photo.so.3.0: cannot open shared object file: No such file or directory

you may need to run the command:

$ export LD_LIBRARY_PATH=/path/to/cv-edu-2018/lib/opencv-3.2.0/build/lib/

StuyVision methods:

Documentation written by Wilson for relevant StuyVision methods can be found here.

OpenCV functions:

Documentation written by Wilson for relevant OpenCV functions can be found here.

Lessons

The links to the lessons are here:

These lessons may be done on your own time, but you can always contact Helen on Slack if you need help!

About

CV education examples, work, and documentation for the 2017-18 school year. [Continuation of 2016-2017 education]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published