EasyCV  0.9.36
Easy! Computer Vision
Private Member Functions | List of all members
cvac::Detector Class Reference
Inheritance diagram for cvac::Detector:
cvac::CVAlgorithmService

Private Member Functions

void process (Ice::Identity client, RunSet run, FilePath detectorData, DetectorProperties props)
 
bool cancel (Ice::Identity client)
 
DetectorProperties getDetectorProperties ()
 

Detailed Description

An object detection service

Member Function Documentation

bool cvac::Detector::cancel ( Ice::Identity  client)
private

Try to cancel the process that the specified client initialized.

Parameters
clientThe DetectorCallbackHandler that was passed to the process function.
Returns
true if the service will try to abort the process, false if it is unable to.
DetectorProperties cvac::Detector::getDetectorProperties ( )
private

Return the default properties of the service. Every service should be stateless, that is, present a clean slate to every connecting client.

void cvac::Detector::process ( Ice::Identity  client,
RunSet  run,
FilePath  detectorData,
DetectorProperties  props 
)
private
Parameters
clientThe DetectorCallbackHandler that is to receive runtime updates and results.
runThe images, videos to detect objects in.
detectorDataOptional parameter to supply this Detector with DetectorData to use. Some Detectors have build-in DetectorData and won't need this (could be NULL), others need to be parameterized for the actual object to detect.
propsOptionally configure the detector.

This call will block until after completedProcessing was called on the CallbackHandler (which needs to be of type DetectorCallbackHandler)


The documentation for this class was generated from the following file: