MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
953 stars 279 forks source link

get the bad test result #60

Closed af258963 closed 5 years ago

af258963 commented 6 years ago

hi,I tested the picture with your training model. The result is very bad. Is there any wrong parameter? demo_det_result

af258963 commented 6 years ago

the bboxes I got: [[570, 595, 501, 590, 1, 1, 1, 1, 0.99984813], [346, 659, 277, 658, 1, 1, 1, 1, 0.99955863], [559, 467, 503, 463, 1, 1, 1, 1, 0.99950457], [547,857, 471, 854, 1, 1, 1, 1, 0.9993729], [462, 982, 414, 982, 1, 1, 1, 1, 0.99927264], [252, 1044, 197, 1043, 1, 1, 1, 1, 0.99920052], [636, 600, 586, 596, 1, 1, 1, 1, 0.99911517], [953, 925, 894, 924, 1, 1, 1, 1, 0.99889225], [178, 1052, 106, 1061, 1, 1, 1, 1, 0.99870217], [610, 662, 559, 660, 1, 1, 1, 1, 0.9980666], [861, 535, 819, 535, 1, 1, 1, 1, 0.99744534], [588, 534, 525, 526, 1, 1, 1, 1, 0.99732322], [182, 590, 99, 587, 1, 1, 1, 1, 0.99680376], [1076, 879, 1018, 868, 1, 1, 1, 1, 0.99668092], [798, 731, 739, 722, 1, 1, 1, 1, 0.99562341], [944, 601, 876, 599, 1, 1, 1, 1, 0.99547392], [591, 789, 545, 789, 1, 1, 1, 1, 0.99513644], [666, 920, 588, 917, 1, 1, 1, 1, 0.99447232], [162, 784, 99, 785, 1, 1, 1, 1, 0.99422705], [419, 791, 357, 787, 1, 1, 1, 1, 0.99375433], [869, 600, 810, 598, 1, 1, 1, 1, 0.99358362], [689, 471, 634, 466, 1, 1, 1, 1, 0.99318093],[719, 533, 660, 536, 1, 1, 1, 1, 0.99284464], [401, 919, 356, 920, 1, 1, 1, 1, 0.9926374], [887, 992, 811, 992, 1, 1, 1, 1, 0.99170774], [372, 723, 313, 723, 1, 1, 1, 1, 0.99054331], [1007, 864, 949, 857, 1, 1, 1, 1, 0.98922253], [293, 725, 235, 722, 1, 1, 1, 1, 0.98717868], [388, 991, 341, 975, 1, 1, 1, 1, 0.98671979], [1090, 736, 1015, 733, 1, 1, 1, 1, 0.98416591], [201, 401, 128, 399, 1, 1, 1, 1, 0.98287004], [611, 857, 566, 853, 1, 1, 1, 1, 0.98246956], [967, 992, 899, 991, 1, 1, 1, 1, 0.98203731], [130, 1491, 78, 1490, 1, 1, 1, 1, 0.9809171], [724, 737, 649, 731, 1, 1, 1, 1, 0.97950864], [523, 803, 439, 804, 1, 1, 1, 1, 0.97873211], [1085, 474, 1008, 473, 1, 1, 1, 1, 0.97467083], [151, 860, 92, 868, 1, 1, 1, 1, 0.97414452], [704, 1118, 659, 1113, 1, 1, 1, 1, 0.97337252], [484, 466, 436, 461, 1, 1, 1, 1, 0.96696758], [341, 855, 269, 850, 1, 1, 1, 1, 0.96405703], [553, 941, 419, 925, 1, 1, 1, 1, 0.96018177], [1029, 604, 955, 601, 1, 1, 1, 1, 0.95158434]]

MhLiao commented 6 years ago

Have you modified the code? It seems a bug that the last two vertexes are all (1,1).

Wangweilai1 commented 6 years ago

demo_det_result just modified Makefile:

LIBRARIES += glog gflags protobuf boost_system boost_filesystem boost_regex m hdf5_hl hdf5

LIBRARIES += glog gflags protobuf boost_system boost_filesystem boost_regex m hdf5_serial_hl hdf5_serial to LIBRARIES += glog gflags protobuf boost_system boost_filesystem boost_regex m hdf5_hl hdf5

LIBRARIES += glog gflags protobuf boost_system boost_filesystem boost_regex m hdf5_serial_hl hdf5_serial

I also got a very bad result,just use your training model, haven't modified the code. @MhLiao

huzhicheng78 commented 6 years ago

I have the same question with af258963 , how to solve that.

MhLiao commented 6 years ago

@af258963 I have fixed the bug in cpu code. Try it!

Wangweilai1 commented 6 years ago

@MhLiao ![demo_det_result](https://user-images.githubusercontent.com/15275988/43351812-921c0b98-924a-11e8-878a-941872682372.jpg after fixed in file bbox_util.cpp bug, it also got a the bad result.

MhLiao commented 6 years ago

@Wangweilai1 This seems a wrong detection result, not a bug.

khalilo commented 6 years ago

Hi, @MhLiao I have the same bad result with @af258963
https://drive.google.com/file/d/1HurdKGzqSudUF3yhHPpNn4TGDvL0h0qd how to solve that ?