MichalBusta / E2E-MLT

E2E-MLT - an Unconstrained End-to-End Method for Multi-Language Scene Text
MIT License
291 stars 84 forks source link

th13 = (2 * xc - input_W - 1) / (input_W - 1) #41

Open chenjun2hao opened 5 years ago

chenjun2hao commented 5 years ago

when i read the code, i am confused about th13 = (2 * xc - input_W - 1) / (input_W - 1), cloud you give some links for explain this code. thanks.

MichalBusta commented 5 years ago

Hi, it Is just affine transformation plus conversion of coordinate system (from pixel space to normalized space used by bilinear transfom in torch.

Michal

pátek 21. června 2019 chenjun notifications@github.com napsal(a):

when i read the code, i am confused about th13 = (2 * xc - input_W - 1) / (input_W - 1), cloud you give some links for explain this code. thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MichalBusta/E2E-MLT/issues/41?email_source=notifications&email_token=AA7KHMFKMGHSMQXPPYAHB2DP3WLMFA5CNFSM4H2V26VKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3CJZCQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7KHMBTI4HHOI6WDYNTSKDP3WLMFANCNFSM4H2V26VA .

chenjun2hao commented 5 years ago

@MichalBusta ,i get it, but i want know the theory. could you give some links for explaining this. thanks.

MichalBusta commented 5 years ago

try Google - affine transformation . (or pytorch spatial transformer tutorial)

sorry I'm travelling with limited access to internet. úterý 25. června 2019 chenjun notifications@github.com napsal(a):

@MichalBusta https://github.com/MichalBusta ,i get it, but i want know the theory. could you give some links for explaining this. thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MichalBusta/E2E-MLT/issues/41?email_source=notifications&email_token=AA7KHMGX4HXG65LBY2DAYV3P4G6OXA5CNFSM4H2V26VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPHM4I#issuecomment-505312881, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7KHMCDJJX3HZTXDXTM35LP4G6OXANCNFSM4H2V26VA .