text-detection-ctpn icon indicating copy to clipboard operation
text-detection-ctpn copied to clipboard

about detect speed

Open chengjunjiecn opened this issue 7 years ago • 4 comments

data/demo/009.jpg Detection took 8.986s for 5 object proposals

detection spend about 9s, is it ok?

chengjunjiecn avatar Jan 16 '18 12:01 chengjunjiecn

@chengjunjiecn I did not test on cpu. with gpu, the speed can be reduce to 0.4s per image

eragonruan avatar Jan 22 '18 13:01 eragonruan

@eragonruan i use k40 Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/001.jpg Detection took 1.486s for 7 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/002.jpg
Detection took 1.524s for 7 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/003.jpg Detection took 1.563s for 6 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/004.jpg
Detection took 0.822s for 6 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/005.jpg Detection took 1.369s for 6 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/006.jpg
Detection took 1.345s for 7 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/007.jpg Detection took 0.316s for 5 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/008.jpg
Detection took 1.314s for 38 object proposals

Demo for /home/zhoulinyuan/project/text-detection-ctpn/data/demo/009.jpg Detection took 0.311s for 5 object proposals

liny23 avatar Mar 29 '18 12:03 liny23

I have the same problems. With default demo.py, it costs about 2 secs per pic, while I set the tf.app.flags.DEFINE_string('gpu', '0', '') to tf.app.flags.DEFINE_string('gpu', '1', '')

it costs about 1 secs per pic. How to speed it up to 0.2s per pic?

KosukeHao avatar Jun 11 '19 06:06 KosukeHao

How to speed it up to 0.2s per pic?

Find 8 images

data/demo/1picD.jpg cost time: 2.66s

data/demo/0picD.jpg cost time: 2.37s

data/demo/2picD.jpg cost time: 2.35s

data/demo/3picD.jpg cost time: 2.41s

data/demo/output1.jpg cost time: 2.63s

data/demo/output2.jpg cost time: 2.62s

data/demo/output3.jpg cost time: 2.70s

data/demo/output4.jpg cost time: 2.63s

zhangchunyang1995 avatar Apr 21 '20 14:04 zhangchunyang1995