Update readme
This commit is contained in:
parent
a4d9e333b5
commit
88a4c75b2d
|
@ -9,7 +9,7 @@ For MacOS, it uses `AVFDriver`, based on a [custom library](https://github.com/e
|
||||||
|
|
||||||
# How to use
|
# How to use
|
||||||
|
|
||||||
1. Add `io.github.eduramiba:webcam-capture-driver-native:1.1.0` dependency to your application.
|
1. Add `io.github.eduramiba:webcam-capture-driver-native:1.2.0` dependency to your application.
|
||||||
2. Use the driver with `Webcam.setDriver(new NativeDriver())`
|
2. Use the driver with `Webcam.setDriver(new NativeDriver())`
|
||||||
3. List the devices with `Webcam.getWebcams()` as normal and use the library in your preferred way. In JavaFX it's recommended to do it as in the example below.
|
3. List the devices with `Webcam.getWebcams()` as normal and use the library in your preferred way. In JavaFX it's recommended to do it as in the example below.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue