semvec/pypi-packages huggingface dataset:
id-recognizer 1.0.3
Extract sid from ANSWER SHEET.
Requires Python: >=3.10

# Introduction
Recognize the student ID on the answer sheet and maximize recognition accuracy.

# Usage
## Install
require python >= 3.10

```shell
pip install id-recognizer
```

```python
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 STUFF
```