Testing real-time scanning with a mock camera
Overview
The SDK's mock camera feature lets developers emulate a real camera's behavior using an image file in place of a live camera stream. You can set the path to a local or remote image file.
Initialization
The mock camera feature is only intended for testing purposes. Please do not use it in production.
To initialize the mock camera, you need to configure it before initializing any Classic or Ready-to-Use UI Component.
You can provide a local or remote URL of the image.
loading...
You can also provide the image name. In this case, the image is loaded from the application bundle.
loading...
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
