Camera
Camera

The camera object makes an area of the frame show the image from the user's WebCam (if they have one) and allows easy creation of Eye-Toy style games

Creation
 
Object_CameraCreates a new Camera object
Class functions
 
Connection
IsConnectedChecks if the WebCam was connected successfully
GetSampleWidthReturns the width of the image
GetSampleHeightReturns the height of the image
Pausing
FreezeFreezes the image
UnfreezeUn-freezes the image
Sensitivity
SetSenseResolutionChanges the movement check's resolution
GetSenseResolutionReturns the movement check's resolution
SetChangeTollerenceChanges the movement check's bright/dark tollerence
GetChangeTollerenceReturns the movement check's bright/dark tollerence
SetChangeSpeedsChanges the movement check's rate of response
GetRiseSpeedReturns the rate of positive response
GetDropSpeedReturns the rate of negative response
Image effects
SetFlipMakes the surface flip horizontally
IsFlipChecks if the surface is flipped horizontally
ShowDebugSurfaceOverlays the movement sensitivity surface on the image
HideDebugSurfaceRemoves the movement sensitivity surface from the image
Sensitivity zones
NewZoneAdds a new camera zone to the image
WipeZonesRemoves all camera zones from the image



JAM © 2005 no one in particular
Project started by David Evans in 2005