Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
[[Category:Robotoff]]
 
== Finding opportunities ==
 
== Finding opportunities ==
 +
=== Option 1 ===
 
# Download the OCR JSONL
 
# Download the OCR JSONL
# <pre>grep -o '\<WORD\>' | wc -l</pre>
+
# <pre>zgrep -n '05.01.07' FILE    | wc -l</pre>
 +
 
 +
=== Option 2 ===
 +
# Right click on an image in a product page, in edit mode (eg 1.jpg)
 +
# 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