Line 53: |
Line 53: |
| | | |
| <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/teolemon/ocr/cloudvision4.py $f;done' |
− | sudo nohup sh -c 'for f in $(find . -name 'nutrition.*.full.jpg' -type f); do sudo python /home/xxxxxxxx.py $f;done' | + | sudo nohup sh -c 'for f in $(find . -name 'nutrition.*.full.jpg' -type f); do sudo python /home/teolemon/ocr/cloudvision4.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 'front.*.full.jpg' -type f); do sudo python /home/teolemon/ocr/cloudvision4.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/teolemon/ocr/cloudvision4.py $f;done' |
| </pre> | | </pre> |
| | | |
| <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 ".*/[1-1].jpg*"); do sudo python /home/teolemon/ocr/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 ".*/[2-2].jpg*"); do sudo python /home/teolemon/ocr/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 ".*/[3-3].jpg*"); do sudo python /home/teolemon/ocr/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 ".*/[4-4].jpg*"); do sudo python /home/teolemon/ocr/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 ".*/[5-5].jpg*"); do sudo python /home/teolemon/ocr/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 ".*/[6-6].jpg*"); do sudo python /home/teolemon/ocr/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' | + | sudo nohup sh -c 'for f in $(find . -type f -regex ".*/[7-7].jpg*"); do sudo python /home/teolemon/ocr/cloudvision4.py $f;done' |
| </pre> | | </pre> |
| | | |
Line 73: |
Line 73: |
| 46715+128832+59961+180420 = 415928 (edited) | | 46715+128832+59961+180420 = 415928 (edited) |
| <pre> | | <pre> |
− | ls -lR /home/off/html/images/products/ | find . -name 'nutrition.*.full.jpg' -type f | wc -l | + | ls -lR /srv/off/html/images/products/ | find . -name 'nutrition.*.full.jpg' -type f | wc -l |
| 46715 | | 46715 |
− | ls -lR /home/off/html/images/products/ | find . -name 'front.*.full.jpg' -type f | wc -l | + | ls -lR /srv/off/html/images/products/ | find . -name 'front.*.full.jpg' -type f | wc -l |
| 128382 | | 128382 |
− | ls -lR /home/off/html/images/products/ | find . -name 'ingredients.*.full.jpg' -type f | wc -l | + | ls -lR /srv/off/html/images/products/ | find . -name 'ingredients.*.full.jpg' -type f | wc -l |
| 59961 | | 59961 |
− | ls -lR /home/off/html/images/products/ | find . -type f -regex ".*/[0-9].jpg*" | wc -l | + | ls -lR /srv/off/html/images/products/ | find . -type f -regex ".*/[0-9].jpg*" | wc -l |
| 180420 | | 180420 |
| + | </pre> |
| + | |
| + | <pre> |
| + | Nov 1 - 13:22 - Paris Time |
| + | ls -lR /srv/off/html/images/products | find . -type f -regex ".*/[0-9].jpg*" | wc -l |
| + | 287119 |
| </pre> | | </pre> |
| | | |
| ==== Number of JSONs==== | | ==== Number of JSONs==== |
| <pre> | | <pre> |
− | ls -lR /home/off/html/images/products/ | find . -type f -regex ".*/[0-9].json*" | wc -l | + | ls -lR /srv/off/html/images/products/ | find . -type f -regex ".*/[0-9].json*" | wc -l |
| 415308 | | 415308 |
| + | </pre> |
| + | |
| + | |
| + | <pre> |
| + | Nov 1 2016 - 13:30 |
| + | teolemon@ns3362784:/srv/off/html/images/products$ ls -lR /srv/off/html/images/products | find . -type f -regex ".*/[0-9].json*" | wc -l |
| + | 253322 |
| </pre> | | </pre> |
| | | |
Line 107: |
Line 120: |
| | | |
| ==== Search for a string in the generated JSONs ==== | | ==== Search for a string in the generated JSONs ==== |
− | grep --include=*.json -rnwl '/home/off/html/images/products/' -e "halloween" | + | grep --include=*.json -rnwl '/srv/off/html/images/products/' -e "halloween" |
| | | |
| == Status == | | == Status == |