# download anaconda and install(test on python3.5)
# install opencv
conda install -c menpo opencv3=3.1.0
# install Pygame
conda install -c cogsci pygame
# install lmdb
conda install -c conda-forge python-lmdb
# install other required package
conda install pandas, h5py, scipy, Pillow
python generate_training_data.py
main process:
(refer to paper: NIPS2014 Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognition)[1]
- Font redering
- Border/shadow rendering
- Base coloring
- Projective distortion
- Natural data blending
- Noise
ImportError: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
run command: sudo apt-get install libsdl1.2-dev