At the bottom of my preview i end up with 4 green lines of pixels it is a normal behavior (because camera support only this requestHeight).
But i need to remove those 4 lines :
i made a hack in UVCPreview.cpp / copyFrame() to NOT copy the last green lines,
basicaly for this specific height i am changing the height :
if(height == 292){
LOGD("CPP_HACK HIDING GREEN PIXELS: %d / %d",width,height);
height = 288;
}
but it's not a cropping solution...
Does anybody has crop a preview in a simple way allready (without openCV i mean) ?
At the bottom of my preview i end up with 4 green lines of pixels it is a normal behavior (because camera support only this requestHeight).
But i need to remove those 4 lines :
but it's not a cropping solution...
Does anybody has crop a preview in a simple way allready (without openCV i mean) ?