DAN icon indicating copy to clipboard operation
DAN copied to clipboard

Question about demo and how DAN detects line/paragraph

Open trong5nhan6 opened this issue 3 months ago • 0 comments

Hey, great work on DAN! I’m trying to demo it like you showed but I’m not sure how to make it highlight or separate by lines/paragraphs. Also — how does the model know which tokens belong to which line? Is that from bbox info or learned attention?

Would be awesome if you could share a small example or script to reproduce the demo. Thanks!

trong5nhan6 avatar Oct 11 '25 08:10 trong5nhan6