builtree / handwrite

Handwrite generates a custom font based on your handwriting sample.
https://pypi.org/project/handwrite/
MIT License
366 stars 46 forks source link

BUG: Unable to create font using jpg #67

Open programmer290399 opened 2 years ago

programmer290399 commented 2 years ago
❯ conda list
# packages in environment at /home/saahil/anaconda3/envs/handwrite:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_openmp_mutex             4.5                       1_gnu  
ca-certificates           2021.10.26           h06a4308_2  
certifi                   2021.10.8        py37h06a4308_0  
handwrite                 0.3.0                    pypi_0    pypi
ld_impl_linux-64          2.35.1               h7274673_9  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.3.0               h5101ec6_17  
libgomp                   9.3.0               h5101ec6_17  
libstdcxx-ng              9.3.0               hd4cf53a_17  
ncurses                   6.3                  h7f8727e_2  
numpy                     1.21.4                   pypi_0    pypi
opencv-python             4.5.4.60                 pypi_0    pypi
openssl                   1.1.1l               h7f8727e_0  
pillow                    8.4.0                    pypi_0    pypi
pip                       21.2.2           py37h06a4308_0  
python                    3.7.11               h12debd9_0  
readline                  8.1                  h27cfd23_0  
setuptools                58.0.4           py37h06a4308_0  
sqlite                    3.36.0               hc218d9a_0  
tk                        8.6.11               h1ccaba5_0  
wheel                     0.37.0             pyhd3eb1b0_1  
xz                        5.2.5                h7b6447c_0  
zlib                      1.2.11               h7b6447c_3  

sa handwrite font_1 (1) Fitted to A4 size using Adobe Scan

sa_handwrite_font_1 Original image scanned using Adobe Scan

yashlamba commented 2 years ago

HI @programmer290399, this looks like a fair enough input, I'll try it out and let you know if I find the reason.