--- layout: examples title: Demo with file-input showInMenu: false ---

### Working with file-input

This example let's you select an image from your local filesystem. There is no server interaction needed as the file is simply accessed through the File API.

This also works great on a wide range of mobile-phones where the camera access through `getUserMedia` is still very limited.

If the default configuration does not suit your use-case, you can adjust various parameters of the localization and decoding process.

Barcode-Type
Resolution (long side)
Patch-Size
Half-Sample Workers