Currently, I am using docker image for trdg and it seems that arabic reshaper is not installed in the latest version.
Input:
docker run -v .:/app/out/ -v /home/amir/Downloads/B_NAZANIN/:/app/fonts -t belval/trdg:latest trdg --language ar --font_dir /app/fonts/ -c 30
Output:
Missing modules for handwritten text generation.
Traceback (most recent call last):
File "/env/bin/trdg", line 33, in <module>
sys.exit(load_entry_point('trdg==1.7.0', 'console_scripts', 'trdg')())
File "/env/lib/python3.6/site-packages/trdg-1.7.0-py3.6.egg/trdg/run.py", line 409, in main
from arabic_reshaper import ArabicReshaper
ModuleNotFoundError: No module named 'arabic_reshaper'
As it seems like from the dockerfile and requirements.txt file. It should have no problem. I think if you just rebuild the image, it should be fine.
Currently, I am using docker image for
trdg
and it seems thatarabic reshaper
is not installed in the latest version.Input:
Output:
As it seems like from the dockerfile and
requirements.txt
file. It should have no problem. I think if you just rebuild the image, it should be fine.