Extract sid from ANSWER SHEET.
Project description
Introduction
Recognize the student ID on the answer sheet and maximize recognition accuracy.
Usage
Install
require python >= 3.10
pip install id-recognizer
from id_recognizer.composition_id_recognizer import CompositionIdRecognizer
# Read key and secret from environment variable YD_OCR_KEY\YD_OCR_SECRET if
# not provide key secret
recognizer = CompositionIdRecognizer(key='', secret='')
# Maybe MatLike \ base64 str(with header or not) \ bytes
im = ...
b64_im_str = ""
ret = recognizer.recognize(b64_im_str)
if ret.status == StatusCode.OK:
sid = ret.sid
# DO STAFF
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file id_recognizer-0.2.6-py3-none-any.whl.
File metadata
- Download URL: id_recognizer-0.2.6-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df2cf8a1a8e81b5d1ac696b223a02ac8a57aef8b93a6e572e8cdef3d000a28c9
|
|
| MD5 |
f6cb79564521c747b1268d778bfc1c08
|
|
| BLAKE2b-256 |
9d64dc6af7062ef0c362b544aca422cb708b291339340a961dc1eac5e8db4879
|