Skip to content
Justen Hyde edited this page Mar 13, 2014 · 15 revisions

libpsinc

Basic use of libpsinc is as straightforward creating a Camera object, hooking into the Acquired event and calling Initialise to set the camera in motion:

	this.camera = new Camera();
	this.camera.Acquired += i => this.Render(i as System.Drawing.Bitmap);
	this.camera.Initialise();

Remember to call Dispose() on the camera when you've finished with it. A more complete example of use can be found in the example application.

Clone this wiki locally