Blackjack Decision Maker
Public Member Functions | List of all members
DetectCard Class Reference

Class for the detection of cards. Runs the processing pipeline. More...

#include <DetectCard.h>

Inheritance diagram for DetectCard:
Collaboration diagram for DetectCard:

Public Member Functions

 DetectCard (cv::String folder_path)
 Construct a new Detect Card:: Detect Card object. More...
 
 ~DetectCard ()
 Destroy the Detect Card:: Detect Card object. More...
 
void registerCallback (CallbackLinker *cb)
 Register a Callback for the DetectCard Class. More...
 
void unregisterCallback ()
 Unregister existing callback. More...
 
void nextCallback (AcePlaysUtils &callbackData)
 Implement the nextCallback virtual method to pass information down the pipeline. More...
 
void startProcessing ()
 Method call to start the Processing Thread. More...
 
void stopProcessing ()
 Method call to stop the Processing Thread. More...
 

Detailed Description

Class for the detection of cards. Runs the processing pipeline.

Constructor & Destructor Documentation

◆ DetectCard()

DetectCard::DetectCard ( cv::String  folder_path)

Construct a new Detect Card:: Detect Card object.

Parameters
folder_pathget folder path of template cards and call CardDiscriminator constructor to load all templates

◆ ~DetectCard()

DetectCard::~DetectCard ( )

Destroy the Detect Card:: Detect Card object.

Member Function Documentation

◆ nextCallback()

void DetectCard::nextCallback ( AcePlaysUtils callbackData)
virtual

Implement the nextCallback virtual method to pass information down the pipeline.

Parameters
callbackDataan AcePlaysUtils callback object

Implements CallbackLinker.

◆ registerCallback()

void DetectCard::registerCallback ( CallbackLinker cb)

Register a Callback for the DetectCard Class.

Parameters
cbis a CallbackLinker class pointer

◆ startProcessing()

void DetectCard::startProcessing ( )

Method call to start the Processing Thread.

◆ stopProcessing()

void DetectCard::stopProcessing ( )

Method call to stop the Processing Thread.

◆ unregisterCallback()

void DetectCard::unregisterCallback ( )

Unregister existing callback.


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