Blackjack Decision Maker
Classes | Macros | Enumerations
Card.h File Reference
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <vector>
#include <iostream>
Include dependency graph for Card.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Card_params
 Structure holding the parameters of all detected card shapes in a frame, such as their position in the frame, the isolated Rank RoIs and others. More...
 
struct  AcePlaysUtils
 Utility structure used by the AcePlays repo for passing necessary information down the processing pipeline, from one class to the next. More...
 
struct  qCard
 Structure to store information about single card in the camera image. More...
 

Macros

#define CARD_MAX_AREA   120000
 
#define CARD_MIN_AREA   10000
 
#define FLATTENED_WIDTH   230
 
#define FLATTENED_HEIGHT   300
 
#define RANK_WIDTH   70
 
#define RANK_HEIGHT   125
 

Enumerations

enum  decisions {
  HIT , STAND , SPLIT , DOUBLE ,
  UNKNOWN , LOSE , STOP
}
 A Blackjack enum decisions to determine the next Optimal Play. More...
 

Macro Definition Documentation

◆ CARD_MAX_AREA

#define CARD_MAX_AREA   120000

◆ CARD_MIN_AREA

#define CARD_MIN_AREA   10000

◆ FLATTENED_HEIGHT

#define FLATTENED_HEIGHT   300

◆ FLATTENED_WIDTH

#define FLATTENED_WIDTH   230

◆ RANK_HEIGHT

#define RANK_HEIGHT   125

◆ RANK_WIDTH

#define RANK_WIDTH   70

Enumeration Type Documentation

◆ decisions

enum decisions

A Blackjack enum decisions to determine the next Optimal Play.

Enumerator
HIT 
STAND 
SPLIT 
DOUBLE 
UNKNOWN 
LOSE 
STOP