Skip to content

Commit

Permalink
Creating OCR profile
Browse files Browse the repository at this point in the history
  • Loading branch information
murilosb committed Nov 29, 2023
1 parent 57451db commit 1f1c4c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile.processor
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ RUN --mount=type=secret,id=ACTION_GH_TOKEN export ACTION_GH_TOKEN=$(cat /run/sec
&& echo "robustImageReading = true" >> /opt/IPED/iped/profiles/pedorobust/conf/FileSystemConfig.txt \
&& echo "enableExternalParsing = true" >> /opt/IPED/iped/profiles/pedorobust/conf/ParsingTaskConfig.txt \
&& echo "#####################################" \
&& echo "OCR: enable excludeKnown and enableOCR" \
&& echo "For child abuse cases where optical chacarter recognition (ocr) is needed" \
&& echo "#####################################" \
&& cp -r /opt/IPED/iped/profiles/pedo /opt/IPED/iped/profiles/ocr \
&& echo "excludeKnown = true" >> /opt/IPED/iped/profiles/ocr/conf/HashDBLookupConfig.txt \
&& echo "enableOCR = true" >> /opt/IPED/iped/profiles/ocr/conf/OCRConfig.txt \
&& echo "#####################################" \
&& echo "Removing comentary from numFramesEquation" \
&& echo "#####################################" \
&& sed -i -e "s/#numFramesEquation =/numFramesEquation =/" /opt/IPED/iped/conf/VideoThumbsConfig.txt \
Expand Down

0 comments on commit 1f1c4c9

Please sign in to comment.