- To install common packages:
pip install -r requirements.txt
- To install:
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
pip install "paddleocr>=2.0.1
- Run a test:
cd test
python3 paddleocr_test.py
- Install: just need to install modelscope to download model checkpoint
- Test: There are no tests right now
- To run pipeline:
python3 pipeline.py \
--recording_path sample.webm \
--method paddle_ocr \
--step 5
Where:
-`method`: currently supports `paddle_ocr` or `damo_ocr`
-`step`: is frame step