processFrame

Internal method that is used by the camera view to process frames.