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

Private Member Functions

void process (Ice::Identity client, RunSet run, TrainerProperties props)
 
bool cancel (Ice::Identity client)
 
TrainerProperties getTrainerProperties ()
 

Detailed Description

A trainer service that produces an object detection service

Member Function Documentation

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

Try to cancel the process that the specified client initialized.

Parameters
clientThe TrainerCallbackHandler that was passed to the process function.
Returns
true if the service will try to abort the process, false if it is unable to.
TrainerProperties cvac::DetectorTrainer::getTrainerProperties ( )
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::DetectorTrainer::process ( Ice::Identity  client,
RunSet  run,
TrainerProperties  props 
)
private
Parameters
clientThe TrainerCallbackHandler that is to receive runtime updates and the created trained model, if any. This call will block until after completedProcessing was called on the CallbackHandler (which needs to be of type TrainerCallbackHandler)
runThe images, videos, and their metadata from which to train a detector.
propsOptionally configure the detector.

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