setCameraFrameSize

fun setCameraFrameSize(frameSize: Size)

Set camera preview and analyzer frame size. Make sure to set the size with the correct orientation.