Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
OCR/Results
(view source)
Revision as of 11:08, 1 November 2016
923 bytes added
,
11:08, 1 November 2016
→How to process images to generate JSONs
Line 49:
Line 49:
== Instructions ==
== Instructions ==
=== How to process images to generate JSONs ===
=== How to process images to generate JSONs ===
+
+
Needs to be executed in home/off/html/
+
<pre>
<pre>
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[0-9].jpg*"); do sudo python /home/xxxxxxxx.py $f;done'
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[0-9].jpg*"); do sudo python /home/xxxxxxxx.py $f;done'
Line 54:
Line 57:
sudo nohup sh -c 'for f in $(find . -name 'front.*.full.jpg' -type f); do sudo python /home/xxxxxxxx.py $f;done'
sudo nohup sh -c 'for f in $(find . -name 'front.*.full.jpg' -type f); do sudo python /home/xxxxxxxx.py $f;done'
sudo nohup sh -c 'for f in $(find . -name 'ingredients.*.full.jpg' -type f); do sudo python /home/xxxxxxxx.py $f;done'
sudo nohup sh -c 'for f in $(find . -name 'ingredients.*.full.jpg' -type f); do sudo python /home/xxxxxxxx.py $f;done'
+
</pre>
+
+
<pre>
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[1-1].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[2-2].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[3-3].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[4-4].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[5-5].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[6-6].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
+
sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[7-7].jpg*"); do sudo python /home/teolemon/cloudvision4.py $f;done'
</pre>
</pre>
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
3,997
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages