code: @Override
  	protected void onDrawFrame(SurfaceView view, Canvas canvas) {
  		super.onDrawFrame(view, canvas);
  
  		// Display info on the image being process and how fast input camera
  		// stream (probably in YUV420) is converted into a BoofCV format
  		int width = bitmap.getWidth();
  		int height = bitmap.getHeight();
  		canvas.drawText(String.format(Locale.getDefault(),
  				"%d x %d Convert: %4.1f (ms)",
  				width,height,periodConvert.getAverage()),
  				0,120,paintText);
  
  		// Pro tip: Run in app fast or release mode for a dramatic speed up!
  		// In Android Studio expand "Build Variants" tab on left.
  	}
docs: Demonstrates how to draw visuals