TargetTrackerResult Class¶
Inherits: FrameFilterResult
Description¶
TargetTrackerResult是 ImageTrackerResult 和 ObjectTrackerResult 的基类。
targetInstances¶
返回当前结果中包含的 TargetInstance 列表。
- C
void easyar_TargetTrackerResult_targetInstances(const easyar_TargetTrackerResult * This, easyar_ListOfTargetInstance * * Return)
- C++17
std::vector<std::shared_ptr<TargetInstance>> targetInstances()
- C++03
void targetInstances(ListOfTargetInstance * * Return)
- Java
public java.util.@Nonnull ArrayList<@Nonnull TargetInstance> targetInstances()
- Kotlin
fun targetInstances(): ArrayList<TargetInstance>
- Objective-C
- (NSArray<easyar_TargetInstance *> *)targetInstances
- Swift
public func targetInstances() -> [TargetInstance]
- C#
public virtual List<TargetInstance> targetInstances()
setTargetInstances¶
设置当前结果中包含的 TargetInstance 列表。
- C
void easyar_TargetTrackerResult_setTargetInstances(easyar_TargetTrackerResult * This, easyar_ListOfTargetInstance * instances)
- C++17
void setTargetInstances(std::vector<std::shared_ptr<TargetInstance>> instances)
- C++03
void setTargetInstances(ListOfTargetInstance * instances)
- Java
public void setTargetInstances(java.util.@Nonnull ArrayList<@Nonnull TargetInstance> instances)
- Kotlin
fun setTargetInstances(instances: ArrayList<TargetInstance>): Unit
- Objective-C
- (void)setTargetInstances:(NSArray<easyar_TargetInstance *> *)instances
- Swift
public func setTargetInstances(_ instances: [TargetInstance]) -> Void
- C#
public virtual void setTargetInstances(List<TargetInstance> instances)