android - OCR (tesseract), intelligent rotation for Image -
i'm developing android app uses tesseract ocr recognize text, have problem on different smartphones image gets rotate in different way, on 1 in landscape mode right away , on other in portrait mode. want intelligently rotate image tesseract can recognize text. in 1 of 2 options possible, might in either, due user taking picture. don't want user have take picture in same format everytime, want rotate fits need, if possible without of performance loss.
the tesseract lib autorotate not seem work me in way. idea how solve problem.
thanks
if question still relevant you: maybe can extract exif data of image, orientation?
otherwise paper maybe can you: combined orientation , script detection using tesseract ocr engine.
Comments
Post a Comment