W3C home > Mailing lists > Public > public-media-capture@w3.org > June 2012

Barcode Scanning scenario for media capture requirements

From: SULLIVAN, BRYAN L <bs3131@att.com>
Date: Fri, 1 Jun 2012 22:14:35 +0000
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <59A39E87EA9F964A836299497B686C350FEE94DA@WABOTH9MSGUSR8D.ITServices.sbc.com>
I have some additional requirements from the Barcode Scanning use case that has been discussed recently on the DAP and Sysapps lists.

(suggested new section in http://dvcs.w3.org/hg/dap/raw-file/tip/media-stream-capture/scenarios.html)

2.7 Barcode scanning
Users discover and access barcodes in many different contexts, e.g. product packages, print media, posters, and billboards. Because code interpretation in all these contexts depends upon capturing of a usable image, the camera access API needs to enable the Webapp or user to select options that will enhance the quality of the image.

These options need to available for selection by the API caller for barcode scanning purposes:
- autofocus: Autofocus is almost always valuable in code scanning, but if a user normally (or last) used their camera in another focus mode (e.g. manual, or face tracking), the barcode image may not be focused upon by the camera.
- macro/zoom: Because codes are read from various distances, the camera options for macro and zoom may be needed to be selected by the Webapp with user input as needed/
- flashlight: When scanning barcodes in low light conditions, it may be necessary to activate the camera flashlight as a video light. Whether the flashlight is needed can be determined by the Webapp through other APIs (e.g. an ambient light sensor if available), or through an option provided to the user.

Thanks,
Bryan Sullivan 
Received on Friday, 1 June 2012 22:15:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:35 UTC