From 286ea885ec10c5c356cbff6f814b4c5579a4d015 Mon Sep 17 00:00:00 2001
From: Bartosz Firyn
Date: Wed, 6 Feb 2013 22:47:29 +0100
Subject: [PATCH] Update pages
---
webcam-capture-pages/src/site/index.html | 90 +++++++++++++++++--
.../src/site/stylesheets/styles.css | 17 +++-
2 files changed, 96 insertions(+), 11 deletions(-)
diff --git a/webcam-capture-pages/src/site/index.html b/webcam-capture-pages/src/site/index.html
index be7eebd9..da206fbd 100644
--- a/webcam-capture-pages/src/site/index.html
+++ b/webcam-capture-pages/src/site/index.html
@@ -60,6 +60,8 @@ Webcam Capture
+
+
Requirements
@@ -70,23 +72,68 @@
Requirements
+
Core Features
-- Simple and thread-safe API - write only few lines of code and start capturing images.
-- Work standalone - no additional software has to be installed to use it.
-- System independent - it will run without problems on most widely used operating systems - Windows (2k/XP/Vista/7, both 32- and 64-bit), Linux (x86, x64 and 32-bit ARM) and Mac OS X.
-- Build-in video driver - default build-in video grabber is provided, so you don't need to install any additional software (such as JMF, etc).
-- Implementation independent - write your code once and don't care which capture framework you will be using in future (LTI-CIVIL, JMF, QTJ, etc).
-- Automated resources management - you do not have to remember to deallocate resources used by your capturing device, library will always do that for you (while VM has been closed gracefully).
+- Simple and thread-safe API - write only few lines of code is enough to start capturing images.
+- Standalone - no additional software has to be installed to use it.
+- System independent - it will run without problems on most widely used operating systems - Windows (2k/XP/Vista/7, both 32- and 64-bit), Linux (x86, x64), ARM devices (e.g. Raspberry Pi at Arch Linux), and Mac OS X.
+- Implementation independent - write your code once and if you find better driver in future, just wrap it in WebcamDriver class and don't care about any code changes.
+- Resources management - you do not have to remember to deallocate resources used by your capturing device, library will always do that for you.
- Motion detector - build in motion detector makes it easy to implement motion detecting features.
-- Available in Maven Central - it is available in Maven Central so your project can be deployed there too.
+- Available from Maven Central - it is available in Maven Central and therefore will not suddenly disappear.
- Re-streamer - simple JPEG/MJPEG re-streamer is build in, just run it and enjoy hosting your live stream.
- Swing ready - contains Swing component to display images, together with painter API and thread-safe API which prevents Swing EDT from blocking issues when using camera.
+
+
+Contribute
+
+
+If you have spare time, knownledge or even some small money amount
+to spent, you can help developing awesome Webcam Capture API and make
+it even better! Several kinds of contributions are very welcome:
+
+
+
+
+- Report - if you've found a bug or you've came-up with
+some fantastic feature which
+can make Webcam Capture a better API to use, don't hesitate to
+create new issue
+where you can describe in details what the problem is, or what would you
+like to improve.
+- Test - since Webcam Capture use native code, it's very
+hard to cover all supported operating systems. I'm always testing it
+on 64-bit Ubuntu Linux, Windows XP and Vista (both 32-bit), but I
+have no possibility to test on Raspberry Pi, Mac OS and 32-bit Linux.
+- Code - if you know Java or C++ you can help developing
+Webcam Capture by forking repository
+and sending pull requests.
+- Donate - people have expressed a wish to donate a little
+money. Donating won't get you anything special, other than a warm
+feeling inside, and possibly urge me to produce more freely
+available material for Webcam Capture project. You can
+donate via PayPal by sending money to songo.bercik@interia.pl, or
+by the donation button below.
+
+
+
+
+
+
+
+
+
How To Start
@@ -285,12 +332,41 @@
VLCj Driver
Examples
+
+Confirmed to be perfectly running on the following systems (please
+report at the project page if you tested it on other system, just
+create new issue for that purpose):
+
+
+
+
+- Windows XP 32-bit
+- Windows Vista 32-bit
+- Windows 7 64-bit
+- Ubuntu 12.04 64-bit
+- Mac OS Snow Leopard
+- Raspberry Pi @ Arch Linux
+
+
+
+
+Problems detected on those configurations:
+
+
+
+
+
+
+
Capture Image
To capture single image and save it to disk:
Webcam webcam = Webcam.getDefault();
+webcam.open();
BufferedImage image = webcam.getImage();
ImageIO.write(image, "PNG", new File("test.png"));
diff --git a/webcam-capture-pages/src/site/stylesheets/styles.css b/webcam-capture-pages/src/site/stylesheets/styles.css
index a5ad53a4..b96383b6 100644
--- a/webcam-capture-pages/src/site/stylesheets/styles.css
+++ b/webcam-capture-pages/src/site/stylesheets/styles.css
@@ -109,6 +109,14 @@ a:active {
outline: 0;
}
+a[name].anchor {
+ position: relative;
+ top: -190px;
+ display: block;
+ height: 0;
+ width: 0;
+}
+
/* =============================================================================
Typography
========================================================================== */
@@ -156,9 +164,9 @@ abbr[title] {
/*
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
*/
-b,
-strong {
+b, strong {
font-weight: bold;
+ color: #222;
}
blockquote {
@@ -473,12 +481,13 @@ table {
}
body {
- font: 14px/22px "Quattrocento Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: #666;
+ font: 15px/22px "Quattrocento Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ color: #444;
font-weight: 300;
margin: 0px;
padding: 0px 0 20px 0px;
background: url(../images/body-background.png) #eae6d1;
+ text-align: justify;
}
h1, h2, h3, h4, h5, h6 {