
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
zhmiscellanyocr
,Introduction
Usage examples
Documentation
Can be installed with pip install zhmiscellanyocr
The main point of this package is to allow Google's Tesseract OCR engine to be used from within a pyinstaller executable. This is not possible with packages like pytesseract
for example.
The git repository for this package can be found here. The docs also look nicer on github.
If you want to reach out, you may add my on discord at @z_h_ or join my server.
zhmiscellanyocr.ocr()
zhmiscellanyocr.ocr(image, config=None)
Takes an image path or a PIL image object and runs local image text recognition and returns the text in the image. Does not use the internet to function.
zhmiscellanyocr.batch_ocr()
zhmiscellanyocr.batch_ocr(images, threads=10, config=None)
Takes a list of image paths or PIL image objects and concurrently runs local image text recognition and returns the text in the image. Does not use the internet to function.
FAQs
A collection of OCR (image text recognition) python functions made by zh.
We found that zhmiscellanyocr 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.