Portrait Orientation #4
Comments
You're welcome! To change to portrait mode, I think all you need to do is Right now I have it locked to landscape mode because that seems to better On Sun, Apr 8, 2012 at 10:11 PM, arjunvasan <
|
Hey Robert, Thanks for your help. So right now it's previewing in portrait mode, and i Thanks so much, On Sun, Apr 8, 2012 at 11:03 PM, Robert Theis <
|
@rmtheis I have been studying your code , because I am making an app that uses OCR. also: do you have any Idea how I could fix one side of the view Rect so that it does not cross under the shutter button? |
Hmm...sorry...my CRS disease is affecting me. Try setting the "portrait" On Mon, Apr 9, 2012 at 2:45 PM, arjunvasan <
|
@slashuer Thanks for the offer--I appreciate it. Yeah, I had a light toggle button in there for a while, but it seemed to reduce OCR quality much more than it actually helped, so I prefer to leave it out. (It also generated a bunch of error reports that obscured errors that I'm more interested in seeing.) I'm not sure offhand how to best limit the rect size. You could limit the size of the rect in onTouch() in CaptureActivity based on the size of the shutter button on the user's device. A better solution would be to animate the movement of the shutter button off-screen temporarily while the rect is in the way. |
Hey Robert, Thanks again for your work on porting tesseract to android. I'm currently Thanks! On Tue, Apr 10, 2012 at 11:05 PM, Robert Theis <
|
@slashuer can i please have your code for light? please reply soon |
Hey rmtheis,
Thanks for your awesome prototype ocr app! I've been using it to figure out how to get tesseract working on android. I have a ee signal processing background, and I'm kind of new to android.
What are the changes needed using your source to switch to portrait mode? I'm sure you have lots of your own stuff to deal with, but if you have a minute I'd appreciate the help! How is it that the camera preview appears orthogonal to reality?
Thanks
Arjun
The text was updated successfully, but these errors were encountered: