QR code Scan

I need to scan QR code with opposite color i.e black background & white block

So please help me ,how to invert the image & scan the inverted qr code

Hi, use the image — machine vision — MicroPython 1.15 documentation method or invert() method on the image before calling the find_qrcodes() method.