Skip to content

Commit

Permalink
docs, version bump for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rladstaetter committed May 11, 2020
1 parent eec7901 commit ec8612d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,19 @@ A simple comparison between 3 different approaches to use a webcam with JavaCV:
- JavaFX using a JavaFXOpenCV Converter
- JavaFX with PixelBuffer backed by a native array

TLDR : use JavaFX with PixelBuffer
It turns out that the third approach is the fastest one.

You will need at least [Java11](https://adoptopenjdk.net) and [Maven 3.6.2](https://maven.apache.org/) to build.

Try it out yourself by cloning this repository, then:

mvn package

It will take some time until it is finished, especially when run the first time. After that, you'll find two jar files in the target directory.

Again, on the command line, enter:

java -jar target/javacv-webcam-2020.2.1-SNAPSHOT-jar-with-dependencies.jar

A window should appear and chances are high you can see yourself on the monitor.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.ladstatt.javacv</groupId>
<artifactId>javacv-webcam</artifactId>
<version>2020.2-SNAPSHOT</version>
<version>2020.2.1-SNAPSHOT</version>

<name>net.ladstatt.javacv.javacv-webcam</name>

Expand Down

0 comments on commit ec8612d

Please sign in to comment.