argman / EAST

A tensorflow implementation of EAST text detector
GNU General Public License v3.0
3.01k stars 1.05k forks source link

EAST detect some texture as a text! #358

Open hahmad2008 opened 3 years ago

hahmad2008 commented 3 years ago

I am running the demo using the pre-trained model

python eval.py --test_data_path=/tmp/images/ --gpu_list=0 --checkpoint_path=/tmp/east_icdar2015_resnet_v1_50_rbox/ \ --output_dir=/tmp/

However, EAST detect some features as text, is there any reason behind that? Is there any configuration to tune or change?

Samples:

Screen Shot 2020-08-24 at 9 41 49 PM Screen Shot 2020-08-24 at 10 53 06 PM Screen Shot 2020-08-24 at 9 46 43 PM
CarMiranda commented 3 years ago

No, there is no "reason". EAST is just another deep learning model, so, as of right now, we cannot explain its outputs. And, again, as any other deep learning model, it can misbehave.

There are multiple things you can do:

francotheengineer commented 2 years ago

@CarMiranda answer is correct.

You could also try using larger Backbones, more UNet layers, deeper box/score maps heads. Other mods could be changing activation functions, different Batch Norm layers. The list is endless.