iSightCamera Class is a freeware (but encrypted) way to get the video from build in Mac iSight Camera into our REALbasic application. The demo project shows how to use the class, called iSightCameraClass. Tested on Mac OS 10.5 and 10.6.
The video image can be displayed in a REALbasic Window or in a Canvas. You can adjust the size of the video image. You can adjust the ‘shutter speed’. By default, the live image runs as fast as your machine will allow. But if for some reason you want to use less cycles, you can slow how often the live image is captured. Errors in the class are logged to the Console. A message box will be displayed if you try and create an instance of the class and it fails. This can happen if you don’t have a camera or if the one you have is already in use.
