Changes

Jump to navigation Jump to search
Line 1: Line 1:  
== Finding opportunities ==
 
== Finding opportunities ==
 +
=== Option 1 ===
 
# Download the OCR JSONL
 
# Download the OCR JSONL
 
# <pre>grep -o '\<WORD\>' | wc -l</pre>
 
# <pre>grep -o '\<WORD\>' | wc -l</pre>
 +
 +
=== Option 2 ===
 +
# Right click on an image
 +
# Replace `.jpg` by `.json`
 +
# Find patterns or `logoAnnotations` in the JSON
 +
 
== Adding detections using REGEXes ==
 
== Adding detections using REGEXes ==
 
https://github.com/openfoodfacts/robotoff/tree/master/robotoff/insights/ocr
 
https://github.com/openfoodfacts/robotoff/tree/master/robotoff/insights/ocr

Navigation menu