Skip to content
Snippets Groups Projects
Commit fda77bd1 authored by Renaud's avatar Renaud
Browse files

Mise à jour du fichier de test

parent 40b12da1
No related branches found
No related tags found
No related merge requests found
# INT-HACK-Groupe7
## Installation de PaddlePaddle
Avec carte graphique :
```
python -m pip install paddlepaddle-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
```
Sans carte graphique :
```
python -m pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple
```
Puis :
```
pip install "paddleocr>=2.0.1"
```
## Getting started
......
......@@ -9,10 +9,10 @@ def main():
ocr = OCR()
groups1 = ocr.recognize(TEST_IMAGES_DIR + "/biomet.jpg")
#groups2 = ocr.recognize(TEST_IMAGES_DIR + "/stryker.jpg")
groups2 = ocr.recognize(TEST_IMAGES_DIR + "/stryker.jpg")
ocr.save_ocr(groups1, TEST_IMAGES_DIR + "/biomet.jpg", OUTPUT_DIR + "/biomet_export.jpg", os.getcwd() + "\\" + FONT_PATH)
#ocr.save_ocr(groups2, TEST_IMAGES_DIR + "/stryker.jpg", TEST_IMAGES_DIR + "/stryker_exports.jpg", os.getcwd() + "\\" + FONT_PATH)
ocr.save_ocr(groups2, TEST_IMAGES_DIR + "/stryker.jpg", TEST_IMAGES_DIR + "/stryker_exports.jpg", os.getcwd() + "\\" + FONT_PATH)
# partie BD : strs = [group.string for group in groups1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment