Automatic Cropping

From Kudan AR Engine
Jump to: navigation, search

This is another new feature where the most useful sub-region of a trackable image is automatically found, and used for tracking and detection. This allows images which contain large borders (for example) to be used without sacrificing tracking resolution. Cropping is automatic and makes no difference to how the trackable objects are used the tracked region will never look cropped. This must be enabled for individual markers when they are created from images

 To use:
  - set the autoCrop parameter to true when creating a trackable from an image 
  (initWithImage on iOS, loadFromPath/loadFromAsset on Android)

Download SDK