OpenCV_4.2.0/opencv-4.2.0/samples/java/sbt
朱雅鸿 97158ca5f7 feat:first init 2024-07-25 16:47:56 +08:00
..
lib feat:first init 2024-07-25 16:47:56 +08:00
project feat:first init 2024-07-25 16:47:56 +08:00
sbt feat:first init 2024-07-25 16:47:56 +08:00
src/main feat:first init 2024-07-25 16:47:56 +08:00
README feat:first init 2024-07-25 16:47:56 +08:00

README

A demo of the Java wrapper for OpenCV with two examples:
1) feature detection and matching and
2) face detection.
The examples are coded in Scala and Java.
Anyone familiar with Java should be able to read the Scala examples.
Please feel free to contribute code examples in Scala or Java, or any JVM language.

To run the examples:
1) Install OpenCV and copy the OpenCV jar to lib/.
   This jar must match the native libraries installed in your system.
   If this isn't the case, you may get a java.lang.UnsatisfiedLinkError at runtime.
2) Go to the root directory and type "sbt/sbt run".
   This should generate images in your current directory.