|
Blackjack Decision Maker
|
Class for the detection of cards. Runs the processing pipeline. More...
#include <DetectCard.h>
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... | |
Class for the detection of cards. Runs the processing pipeline.
| DetectCard::DetectCard | ( | cv::String | folder_path | ) |
Construct a new Detect Card:: Detect Card object.
| folder_path | get folder path of template cards and call CardDiscriminator constructor to load all templates |
| DetectCard::~DetectCard | ( | ) |
Destroy the Detect Card:: Detect Card object.
|
virtual |
Implement the nextCallback virtual method to pass information down the pipeline.
| callbackData | an AcePlaysUtils callback object |
Implements CallbackLinker.
| void DetectCard::registerCallback | ( | CallbackLinker * | cb | ) |
Register a Callback for the DetectCard Class.
| cb | is a CallbackLinker class pointer |
| void DetectCard::startProcessing | ( | ) |
Method call to start the Processing Thread.
| void DetectCard::stopProcessing | ( | ) |
Method call to stop the Processing Thread.
| void DetectCard::unregisterCallback | ( | ) |
Unregister existing callback.