A bounding box for the target. The rectangle is normalized to [0,1] where (0,0) is the top left of the video preview and (1,1) is the bottom right. The size parameter of CGRect can be set to 0 to initialize the mission with a point instead of a rectangle. If the mission is initialized with a point, the vision system will try to recognize the object around the point and return the representative rect in the status delegate.
Different modes of the ActiveTrack Mission. Defaults to DJIActiveTrackModeTrace, set to others to enable the feature.
Enum Members:
DJIActiveTrackModeTrace
Aircraft moves in behind the subject keeping a constant distance to it. Mission with this mode can only be started when the aircraft is flying.
DJIActiveTrackModeProfile
Aircraft moves in parallel with the subject in the frame instead of behind. Mission with this mode can only be started when the aircraft is flying.
DJIActiveTrackModeSpotlight
In Spotlight mode, the aircraft camera automatically follows the subject by rotating the aircraft's yaw, but the aircraft does not automatically keep a constant distance with the subject. Mission with this mode can only be started when the aircraft is flying.
DJIActiveTrackModeSpotlightPro
In Spotlight Pro mode, the aircraft camera automatically follows the subject by rotating the gimbal's yaw, but the aircraft does not automatically keep a constant distance with the subject.
DJIActiveTrackModeQuickShot
In QuickShot mode, the aircraft will fly in one of four preset paths (see DJIActiveTrackQuickShotMode) while tracking the object recording a video. When a QuickShot mission ends, a 10-second video will be generated. It is only supported by Spark.
QuickShot modes, which define different preset path for a QuickShot mission.
Enum Members:
DJIActiveTrackQuickShotModeCircle
Aircraft will circle around the object it is tracking.
DJIActiveTrackQuickShotModeDronie
Aircraft will fly backward and upward with camera locked on the object it is tracking.
DJIActiveTrackQuickShotModeHelix
Aircraft will fly upward, spiraling around the object it is tracking.
DJIActiveTrackQuickShotModeRocket
The aircraft will ascend with the camera pointing downward on the object it is tracking.
DJIActiveTrackQuickShotModeBoomerang
The aircraft will fly around the tracking object in an upwardly sloped oval with the video finishing at the start point. Only supported by DJI Mavic Air.
DJIActiveTrackQuickShotModeAsteroid
The aircraft will fly backward and upward while recording video, capture a sphere panorama at the end of the flight path, then combine the footage and panorama into a short video. Only supported by DJI Mavic Air.
DJIActiveTrackQuickShotModeDollyZoom
The aircraft will fly backward and upward. It will adjust the zoom during flight to keep the selected subject the same while the background changes. Ensure there is sufficient space when using Dolly Zoom. Allow at least triple distance from aircraft to the subject behind the aircraft. Only supported by Mavic 2 Zoom.