com.kuka.nav.object.handling
Interface ObjectDetectionContainer

All Superinterfaces:
com.kuka.nav.command.RequestContainer

public interface ObjectDetectionContainer
extends com.kuka.nav.command.RequestContainer

Container for ObjectDetectionRequest requests. Once the request is finished, it holds all possible detections of the given object. Note that symmetric objects can be detected multiple times for every possible orientation.


Method Summary
 ObjectDetection getBestDetection()
          Returns the detection with the highest score, or null if there are no detections.
 List<ObjectDetection> getDetections()
          Returns an unmodifiable list of all detections, sorted according to descending score.
 
Methods inherited from interface com.kuka.nav.command.RequestContainer
awaitFinished, awaitFinished, awaitUpdate, awaitUpdate, cancel, getError, hasError, isCancelled, isFinished, isValid
 

Method Detail

getDetections

List<ObjectDetection> getDetections()
Returns an unmodifiable list of all detections, sorted according to descending score.

Returns:
an unmodifiable list of all detections

getBestDetection

ObjectDetection getBestDetection()
Returns the detection with the highest score, or null if there are no detections.

Returns:
the detection with the highest score, or null if there are no detections


Copyright © 2019. All rights reserved.