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_Camera
Creates a new Camera object
Class functions
Connection
IsConnected
Checks if the WebCam was connected successfully
GetSampleWidth
Returns the width of the image
GetSampleHeight
Returns the height of the image
Pausing
Freeze
Freezes the image
Unfreeze
Un-freezes the image
Sensitivity
SetSenseResolution
Changes the movement check's resolution
GetSenseResolution
Returns the movement check's resolution
SetChangeTollerence
Changes the movement check's bright/dark tollerence
GetChangeTollerence
Returns the movement check's bright/dark tollerence
SetChangeSpeeds
Changes the movement check's rate of response
GetRiseSpeed
Returns the rate of positive response
GetDropSpeed
Returns the rate of negative response
Image effects
SetFlip
Makes the surface flip horizontally
IsFlip
Checks if the surface is flipped horizontally
ShowDebugSurface
Overlays the movement sensitivity surface on the image
HideDebugSurface
Removes the movement sensitivity surface from the image
Sensitivity zones
NewZone
Adds a new camera zone to the image
WipeZones
Removes all camera zones from the image
JAM © 2005 no one in particular
Project started by David Evans in 2005