We've been working on QR detection and decoding for our upcoming @Keycard_ hardware wallet.
28 Jul 2023, 20:23
We've been working on QR detection and decoding for our upcoming @Keycard_ hardware wallet!
We have forked quirc (https://t.co/QJbQuax3ve) and set to work on our main task, which is to optimise the amount of RAM QR decoding will use.
Our objective is to find a way to capture and decode QR codes in all of our supported scenarios (including those that involve large dynamic QR codes!) using less than 500kB of RAM πͺ
Working towards this goal, this week we have decided to
π not use dynamic memory allocation
π use square camera frames because QRs are square, innit π
It turns out that doing these two things reduces RAM usage by 25%
More work to do, but we have made the first steps in our quest to reduce QR decode RAM usage!
#EthStatusProgress