EAST icon indicating copy to clipboard operation
EAST copied to clipboard

Slow executation

Open anavc94 opened this issue 5 years ago • 5 comments

Hi,

I am getting extremely good results using EAST on different images. First of all, congratulations! The negative part I am finding is that EAST is slow, even running on the GPU GTX 1060. For me, it can take like 400 or 500ms for computing the text detection in one SD image using a GPU , so it cannot run in real time. Is there a way to improve performance on speed? Thanks

anavc94 avatar Feb 28 '19 13:02 anavc94

Have you figured out why?

I'm running it on an Intel Xeon @3.2Ghz with Nvidia RTX 2080Ti and it's taking 2-3 seconds per frame. Tried it with a compiled version of TensorFlow for my system configuration too.

DhavalNiphade avatar Sep 10 '19 03:09 DhavalNiphade

Were you able to resolve this issue? @DhavalNiphade @anavc94 @argman @zxytim

arvindrajan92 avatar Aug 05 '20 14:08 arvindrajan92

Hey @arvindrajan92 ,

in my case the slower part was de nms algorithm, maybe 'cause I couldn't compile lamns on windows. I just changed that function.

Regards, Ana

anavc94 avatar Oct 08 '20 16:10 anavc94

Hi @anavc94,

Thank you for sharing your findings. I agree with you, it is the nms part of the algorithm that is slowing things down. The more the texts in the image, the longer it takes. In my case, I replaced the nms algorithm with a faster one as described (with source code) here. This speeds up the detection quite significantly.

Cheers, Arvind

arvindrajan92 avatar Oct 09 '20 00:10 arvindrajan92

@arvindrajan92 @anavc94 @arvindrajan92

what was your final execution time for single line text image ?

SabraHashemi avatar Feb 18 '21 23:02 SabraHashemi