Using this Bot, it would help you to mask the last 4 digits of the aadhaar card. You need to add all ID proof in Input Folder and run the bot. If the ID proof is an aadhaar card, the last 4 digits will be masked, else it will show output as it’s not an aadhaar card. Also, it depends on the DPI and quality of the aadhaar card for the masking to be successful.
Package Manager -> Right Click -> Configure Sources -> Add https://gallery.uipath.com/api/v2.
Aadhaar Data Masking 1.0.2
>Fixed issue for tesseract packages not loading in some systems
Aadhaar Data Masking 1.0.1
>Fixed issue for angle of image not being corect for OCR