autonise / CRAFT-Remade

Implementation of CRAFT Text Detection
MIT License
191 stars 47 forks source link

Invalid Mode `synthesize` #21

Closed ghost closed 5 years ago

ghost commented 5 years ago

@mayank-git-hub When running: python main.py train-synth --mode=synthesize --model=./model/final.pkl --folder=./input

It seems that you didn't add an actual synthesize mode in main.py.

Note: replace train_synth with train-synth in README

mayank-git-hub commented 5 years ago

Hey @deepseek . For generating the bbox on your own images, you should use the command - python main.py synthesize --model=./model/final.pkl --folder=./input

I have updated the ReadMe.md for the same.

If you are using click==6.7 then it should be trainsynth, for higher versions of click, the has been replaced with -.