Skip to content

Commit e73d57f

Browse files
committed
Update fswebcam driver README.md [ci skip]
1 parent 0a198cb commit e73d57f

File tree

1 file changed

+10
-21
lines changed
  • webcam-capture-drivers/driver-fswebcam

1 file changed

+10
-21
lines changed

webcam-capture-drivers/driver-fswebcam/README.md

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,29 @@
11
# FsWebcam Capture Driver
22

3-
This capture driver is designed to allow developers to use console program called
4-
_fswebcam_ written by Philip Heron as the source of images for Webcam Capture API.
5-
This capture driver works on **only** on *nix and requires
6-
[fswebcam](https://github.com/fsphil/fswebcam) command line too to be installed
7-
on the environment where Webcam Capture API is used.
3+
This capture driver is designed to allow developers to use console program called _fswebcam_ written by Philip Heron as the source of images for Webcam Capture API. This capture driver works on **only** on *nix and requires [fswebcam](https://github.com/fsphil/fswebcam) command line too to be installed on the environment where Webcam Capture API is used.
84

95
To install fswebcam:
106

117
```plain
12-
sudo apt-get install fswebcam
8+
$ sudo apt-get install fswebcam
139
```
1410

1511
## Download
1612

17-
The latest **development** version JAR (aka SNAPSHOT) can be downloaded [here](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.github.sarxos&a=webcam-capture-driver-fswebcam&v=0.3.10-SNAPSHOT).
13+
The latest **stable** ZIP bundle can be downloaded [here](http://repo.sarxos.pl/maven2/com/github/sarxos/webcam-capture-driver-fswebcam/0.3.10/webcam-capture-driver-fswebcam-0.3.10-dist.zip).
14+
15+
The latest **development** version JAR (aka SNAPSHOT) can be downloaded [here](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.github.sarxos&a=webcam-capture-driver-fswebcam&v=0.3.11-SNAPSHOT).
1816

19-
The latest **stable** ZIP bundle can be downloaded [here](http://repo.sarxos.pl/maven2/com/github/sarxos/webcam-capture-driver-fswebcam/0.3.10-RC7/webcam-capture-driver-fswebcam-0.3.10-RC7-dist.zip).
2017

2118
## Maven
2219

2320
Stable:
2421

25-
```xml
26-
<repository>
27-
<id>SarXos Repository</id>
28-
<url>http://www.sarxos.pl/repo/maven2</url>
29-
</repository>
30-
```
3122
```xml
3223
<dependency>
3324
<groupId>com.github.sarxos</groupId>
3425
<artifactId>webcam-capture-driver-fswebcam</artifactId>
35-
<version>0.3.10-RC7</version>
26+
<version>0.3.10</version>
3627
</dependency>
3728
```
3829

@@ -48,7 +39,7 @@ Snapshot:
4839
<dependency>
4940
<groupId>com.github.sarxos</groupId>
5041
<artifactId>webcam-capture-driver-fswebcam</artifactId>
51-
<version>0.3.10-SNAPSHOT</version>
42+
<version>0.3.11-SNAPSHOT</version>
5243
</dependency>
5344
```
5445

@@ -74,7 +65,7 @@ public class TakePictureExample {
7465
BufferedImage image = webcam.getImage();
7566

7667
// save image to PNG file
77-
ImageIO.write(image, "PNG", new File("test.png"));
68+
ImageIO.write(image, "JPG", new File("test.jpg"));
7869

7970
// close webcam
8071
webcam.close();
@@ -84,9 +75,7 @@ public class TakePictureExample {
8475

8576
## Issues
8677

87-
There are several known issues. If you have an idea of how those can
88-
be fixed, please send the pull request with the code change and I will
89-
be happy to merge it into the master branch.
78+
There are several known issues. If you have an idea of how those can be fixed, please send the pull request with the code change and I will be happy to merge it into the master branch.
9079

9180
1. Single call to getImage() causes webcam to be re-open again,
9281
2. Because of 1, webcam diode is blinking,
@@ -96,7 +85,7 @@ be happy to merge it into the master branch.
9685

9786
## License
9887

99-
Copyright (C) 2014 Bartosz Firyn
88+
Copyright (C) 2014 - 2015 Bartosz Firyn
10089

10190
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10291

0 commit comments

Comments
 (0)