Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Every other frame detects barcodes #130
I noticed while testing that every-other frame in passive mode accurately detects barcodes in camera feed. This happens very consistently, so it is not just that the camera is shaking and occasionally failing to detect the barcode.
Because we use timeouts, we do not see this effect in our UX, but it is thrashing state in ways that worries me.
I'm struggling to repro. If you up the value at https://github.com/GoogleChromeLabs/perception-toolkit/blob/master/src/elements/perception-toolkit/perception-toolkit.ts#L427 to something like