setPnP

open fun setPnP(@NonNull realWorldObjectWidth: Measure<Distance>, @NonNull realWorldObjectHeight: Measure<Distance>)

Sets the real world dimensions of the object(s) of the thresholded colour to be detected, measured in width and height. This is used to enable PnP (Perspective-N-Point). PnP data will be available after this method is called and the processor is active. Assumes the object is a rectangle.

Parameters

realWorldObjectWidth

the real world width of the object

realWorldObjectHeight

the real world height of the object