Closed DevUser0491 closed 9 months ago
Hey! I don't think this is a question related to VisionCamera.
Probably better off to ask this in the community discord.
What you're searching for is a good way to style your Camera so that there is a box around the QR code.
Question
Please, could someone share the example, how to create a CodeScanner with a frame square and blurred background on both iOS and Android? Inside the frame should detect a code with a green frame, as shown in the picture. I know I need to use frameProcessor and corners/bounding values. How to get them?
Screenshot
What I tried
This is my results, but QR code I can scan in any camera position and Frame is with a black background:
Screenshot
packages:
I tried create a first frame with SVG:
Then use in the Scanner Component:
VisionCamera Version
3.7.1
Additional information