kolhizin / bujo

Proof of concepts and sharedlib for bujo app
0 stars 0 forks source link

Detect local orientation using connected pixels #17

Closed kolhizin closed 5 years ago

kolhizin commented 5 years ago

Use local approach, but combine loss function with orientation, so that loss-function penalizes if line starts to go diagonal to text direction.

Either of two options:

DoD:

kolhizin commented 5 years ago

Read http://www3.ntu.edu.sg/home/EXDJiang/JiangX.D.-PR-07-1P.pdf

kolhizin commented 5 years ago

Tested selection of connected "points" and determination of local orientation by

Method is not stable when lines blend, hence produces incorrect angle. Idea 2 migrated into manual-coded radon transform. It is on the edge of performance.