MichalBusta / DeepTextSpotter

285 stars 101 forks source link

> hi, #84

Open liuqifan67 opened 5 years ago

liuqifan67 commented 5 years ago

hi, the train list is just txt with the image paths. each image in the should have corresponding txt file, where each line corresponds to word.

line example: 0 0.851475423177 0.247500450534 0.128710019264 0.0338691623536 -0.102781031299 CWRU cls x y w h alpha txt

cls - class - not used x - bbox center.x normalized by image width y - bbox center.y normalized by image height w - bbox width normalized by image diagonal h - bbox height normalized by image diagonal alpha - box angle in radians

Hi, MichalBusta, so we don't use class, just x,y,w,h, alpha and txt?

Originally posted by @ustczhouyu in https://github.com/MichalBusta/DeepTextSpotter/issues/10#issuecomment-431781629

I just add the cls , but it wrong. RuntimeError:bad lexical cast:source type value could not be interpreted as target