You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webcam-capture-drivers/driver-fswebcam/README.md
+10-21Lines changed: 10 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,38 +1,29 @@
1
1
# FsWebcam Capture Driver
2
2
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.
8
4
9
5
To install fswebcam:
10
6
11
7
```plain
12
-
sudo apt-get install fswebcam
8
+
$ sudo apt-get install fswebcam
13
9
```
14
10
15
11
## Download
16
12
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).
18
16
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).
@@ -74,7 +65,7 @@ public class TakePictureExample {
74
65
BufferedImage image = webcam.getImage();
75
66
76
67
// save image to PNG file
77
-
ImageIO.write(image, "PNG", newFile("test.png"));
68
+
ImageIO.write(image, "JPG", newFile("test.jpg"));
78
69
79
70
// close webcam
80
71
webcam.close();
@@ -84,9 +75,7 @@ public class TakePictureExample {
84
75
85
76
## Issues
86
77
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.
90
79
91
80
1. Single call to getImage() causes webcam to be re-open again,
92
81
2. Because of 1, webcam diode is blinking,
@@ -96,7 +85,7 @@ be happy to merge it into the master branch.
96
85
97
86
## License
98
87
99
-
Copyright (C) 2014 Bartosz Firyn
88
+
Copyright (C) 2014 - 2015 Bartosz Firyn
100
89
101
90
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:
0 commit comments