Philips webcam

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
(Parameterindstillinger fra kommandolinien)
Line 1: Line 1:
-
DIKU har vi forskellige webcams, hvoraf de fleste benytter ''pwc'' GNU/Linux. EDB-afdelingen Philips PCVC740K webcams. Disse kameraer kaldes ofte for '' . [[Scorpion_robotterne|Scorpion robotter]] sidder et yderst vidvinklet Logitech webcam (XXX: Find modelnummer). Begge disse kameramodeller benytter ''pwc'' driveren.
+
At DIKU we have various kinds of webcams, most of which uses the ''pwc'' driver on GNU/Linux. The IT staff (EDB-afdelingen) has some Philips PCVC740K webcams. These cameras are often called 'egg-cams' . On the [[Scorpion robotterne|Scorpion robots]] is a very wide-angle Logitech webcam. Both of these camera models uses the ''pwc'' driver.
-
''pwc'' driveren er at deres interne indstillinger kan justeres. Dette betyder at kameraets gain, hvidbalance, kompressionsrate osv kan justeres manuelt.
+
One advantage of using cameras supported by the ''pwc'' driver is that it is possible tune some of the cameras internal parameters, such as 'gain', 'white-balance', 'compression rate', etc.
-
== Parameterindstillinger fra kommandolinien ==
+
== Changing parameters on the command line ==
-
Fra kommandolinien kan programmet ''setpwc'' benyttes. Hvordan dette program benyttes kan ses ved at skrive
+
On the command line the program ''setpwc'' can be used to tune camera parameters. Type
  setpwc -h
  setpwc -h
-
i en terminal. Hvis du ikke har programmet installeret kan du hente det fra dets [http://www.vanheusden.com/setpwc/ hjemmeside]. Linux.
+
on the command line to see how to use the program. If you don't have the program installed, you can get it from [http://www.vanheusden.com/setpwc/ http://www.vanheusden.com/setpwc/].<br/>
 +
'''Note:''' This program only works on GNU/Linux.
-
== Parameterindstillinger i C++ ==
+
== Changing parameters in C++ ==
-
Med udgangspunkt i kildekoden til ''setpwc'' er der udviklet en simpel klasse i C++ der kan bruges til at justere kameraet direkte i et C++ program. Kildekoden til programmet kan findes i billedgruppens SVN (XXX: upload programmet og link). Den bedste til klassen er formentlig dens header-fil, 'gain'' til 0. [[OpenCV]].
+
Using the ''setpwc'' source code a simple C++ class has been developed. This class allows you to tune camera parameters directly in C++. The source code for this class can be found in the "Robot Eksperimentarium" SVN (XXX: Upload and link). There is currently no documentation for the class, so you should just read the header file to see how the class works. But here's a small example of usage to get you started. The following program sets the camera gain to 0. One final comment is that the class is designed to be used with [[OpenCV]].
  #include "highgui.h"
  #include "highgui.h"
Line 25: Line 26:
== Links ==
== Links ==
-
[http://www.saillard.org/linux/pwc/ Linux driverens hjemmeside] <br/>
+
[http://www.saillard.org/linux/pwc/ The ''pwc'' driver webpage] <br/>
-
[http://www.vanheusden.com/setpwc/ setpwc's hjemmeside]
+
[http://www.vanheusden.com/setpwc/ The ''setpwc'' webpage]

Revision as of 18:29, 8 August 2006

Personal tools