Update README.md
Browse files
README.md
CHANGED
|
@@ -12,9 +12,9 @@ tags:
|
|
| 12 |
- food-labels
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# Ingredient
|
| 16 |
|
| 17 |
-
These are the weights behind [Ingredient
|
| 18 |
|
| 19 |
## Files
|
| 20 |
|
|
@@ -42,7 +42,7 @@ from huggingface_hub import hf_hub_download
|
|
| 42 |
|
| 43 |
from src.ocr_engine import OCREngine
|
| 44 |
|
| 45 |
-
repo = "
|
| 46 |
recognizer = hf_hub_download(repo, "best_accuracy.pth")
|
| 47 |
hf_hub_download(repo, "opt.txt") # settings, read next to the checkpoint
|
| 48 |
detector = hf_hub_download(repo, "craft_mlt_25k.pth")
|
|
|
|
| 12 |
- food-labels
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# Ingredient Facts: OCR weights for food ingredient labels
|
| 16 |
|
| 17 |
+
These are the weights behind [Ingredient Facts](https://ingredient-facts.streamlit.app), which reads the ingredient list on a food label from a photo. They come from the undergraduate thesis *Pengembangan Sistem OCR Berbasis CRAFT dan CRNN untuk Pengenalan Teks Daftar Bahan pada Label Makanan* by Rakeen Aria Alireza. The code is at [github.com/rakeenaria/food-ingredient-ocr-craft-crnn](https://github.com/rakeenaria/food-ingredient-ocr-craft-crnn).
|
| 18 |
|
| 19 |
## Files
|
| 20 |
|
|
|
|
| 42 |
|
| 43 |
from src.ocr_engine import OCREngine
|
| 44 |
|
| 45 |
+
repo = "rakeenarya/ingredient-reader"
|
| 46 |
recognizer = hf_hub_download(repo, "best_accuracy.pth")
|
| 47 |
hf_hub_download(repo, "opt.txt") # settings, read next to the checkpoint
|
| 48 |
detector = hf_hub_download(repo, "craft_mlt_25k.pth")
|