
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
ocr-pro
Advanced tools
A simple and efficient OCR-based data extraction tool for Indian PAN and Aadhaar cards using Tesseract OCR.
print(pan_data.get_pan())print(aadhaar_data.get_aadhaar())tesseract_cmd parameter to ExtractAadhaarData and ExtractPanData for custom Tesseract paths.preprocess) in child classes not being passed correctly.(For full version history, see CHANGELOG.md)
pip install ocr-pro
from ocr import ExtractPanData
# Default usage (preprocess=False by default)
pan_data = ExtractPanData("pan_image.jpg", tesseract_cmd="/usr/bin/tesseract")
print(pan_data.get_pan())
from ocr import ExtractAadhaarData
# You can also enable preprocessing
aadhaar_data = ExtractAadhaarData("aadhaar_image.jpg", tesseract_cmd="/usr/bin/tesseract", preprocess=True)
print(aadhaar_data.get_aadhaar())
"C:\Program Files\Tesseract-OCR\tesseract.exe" on Windows)MIT License
FAQs
OCR extractor for PAN and Aadhaar card details
We found that ocr-pro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.