Access the camera's pixels
in
Android Processing
•
2 years ago
I've gotten code working that accesses the camera's pixel data in Processing. Wasn't as... straight forward as I'd expected ;) I've got code sample here, enjoy:
http://www.akeric.com/blog/?p=1342
I'd be interested to know how to make it faster. currently running around 1fps (just guessing, not scientific) on my Samsung Captivate.
Big thanks to Ketai: I simply couldn't grok how to decode the YUV bytestream into RGB, so I piggybacked off of a decoder they'd written.
Yeh, I know I could 'just use Ketai' to do what I wrote, but I wanted to figure out how to do it on my own ;)
http://www.akeric.com/blog/?p=1342
I'd be interested to know how to make it faster. currently running around 1fps (just guessing, not scientific) on my Samsung Captivate.
Big thanks to Ketai: I simply couldn't grok how to decode the YUV bytestream into RGB, so I piggybacked off of a decoder they'd written.
Yeh, I know I could 'just use Ketai' to do what I wrote, but I wanted to figure out how to do it on my own ;)
2