More limitations may apply to the interfaces: Assure that at maximum one SPScanner object accesses a device at any time, release the SPScanner object when you no longer need it some manufacturers provide more than one driver for the same device. contrast or brightness might be supported in a subset of the drivers provided Some properties / settings might not be supported for the selected device, e. All requests should be called from the message queue thread, at least from the same thread.Scanner drivers might have some limitations: The Scanner module redirects all requests to the scanner driver. The SPScanner capture process saves one or more SPImage object(s) in the SPScanner object on successfull completion, call SPScannerGetNumberImages and SPScannerGetImage to enumerate the returned image(s). The method SPScannerCaptureInteractive will display the video stream in the provided window.Ĭall SPScannerCapture without vendor GUI to capture a snapshot of the live video stream.įinally call SPScannerCaptureInteractiveDone to capture the actual image. Video cameras: the application will typically popup a to dialog display a live preview.The method SPScannerCaptureInteractive enumerates the images of the camera, and fills a list of thumbnails, finally call SPScannerCaptureInteractiveEnd to capture the selected image. Cameras: the application will typically popup a dialog to display all saved images in the camera.Scanners: the application will typically popup a dialog to enter scanner settings such as resolution etc, and finally call SPScannerSetSettings with the updated settings and call SPScannerCapture to capture the image.The application must differentiate the connected device when capturing without vendor GUI. If you choose to capture with vendor GUI then the manufacturers dialog will popup, and the user can setup the desired capture process. The SPScanner object supports capturing an image with or without vendor GUI. Settings can be modified and define the next capture process, see Scanner Settings and Capabilities. Capabilities are read only and list features such as 'Can operate without GUI' etc. The SPScanner object details capabilities, and settings of the selected device. The popup equals the standard operating system scanner selection dialog. The SPScanner object will either create an instance of the selected device or popup a selection dialog for the specified scanner class. You may choose a device of the returned list and instantiate a SPScanner object based on the device selection. The SPScannerEnum object lists all scanner devices for a given Scanner Interface or for all supported Scanner Interfaces. The module includes two objects, a scanner enumeration object SPScannerEnum and the scanner device object SPScanner. The SPScanner objects implement access to scanners. SignWare Dynamic Development toolkit, scanner access object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |