android - Real-time image processing with Camera2 -


i tried searching in ton of places doing this, no results. did read (as far know) way obtain image frames use imagereader, gives me image work with. however, lot of work must done before have nice enough image (converting image byte array, converting between formats - yuv_420_888 argb_8888 - using renderscript, turning bitmap , rotating manually - or running application on landscape mode). point lot of processing made, , haven't started actual processing yet (i plan on running native code on it). additionally, tried lower resolution, no success, , there significant delay when drawing on surface.

is there better approach this? appreciated.

im not sure doing images, lot of times grayscale image needed (again depending on exact goal) if camera outputs yuv, grayscale information in y channel. nice thing,is don't need convert numerous colorspaces , working 1 layer (as opposed three) decreases size of data set greatly.

if need color images wouldn't help


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -