diff --git a/README.md b/README.md index eafd2fc..4ec8d96 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ export default function App() { isActive={true} frameProcessor={frameProcessor} frameProcessorFps={5} + zoom={device?.neutralZoom ?? 1} /> {barcodes.map((barcode, idx) => ( diff --git a/example/src/App.tsx b/example/src/App.tsx index 01d97ef..a6debe8 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -36,6 +36,7 @@ export default function App() { isActive={true} frameProcessor={frameProcessor} frameProcessorFps={5} + zoom={device?.neutralZoom ?? 1} /> {barcodes.map((barcode, idx) => (