beacandler / R2CNN

caffe re-implementation of R2CNN: Rotational Region CNN for Orientation Robust Scene Text Detection
80 stars 27 forks source link

你好,请问该份代码是否可以用于其他场景的检测,比如检测多种不同的车(bus/car/train),这种多类别的情况? #9

Open cmcamdy opened 3 years ago

cmcamdy commented 3 years ago

你好,我在test输出数据的时候print了predbbox和score,发现bbox的数据集中在第二个bbox中: -> print(scores[index]) (Pdb) r [9.9988842e-01 6.6253820e-06 5.9292459e-05 4.0550061e-05 5.0738868e-06] [ 0. 0. 0. 0. 0. 0.

    1. 43.752 96.91591 482.25037 96.84546 482.31024 469.7978 43.811916 469.86823 0. 0.
          1. 0.
          1. 0.
          1. 0.
        1. ] 于是我就在猜想您的代码原来是写来检测text的,即检测单类别,那我如果用来检测多类别是否有哪里需要改动?
cmcamdy commented 3 years ago

前者是score,表示5个类别的分数,后者是predbbox,每8个一组,但是奇怪的是数据只出现在第二组