SetSolver.cpp
void determine_type(Card& res, Mat& img) {
	// imwrite("next_card.jpg", img);

	// BGR average.
	cv::Vec3d average;
	int count;
	get_average_non_black(img, average, count);

	detect_color(res, average);

	detect_fullness(res, img);

	detect_shape(res, img);
}
// Determines color, shape and filledness of the shape.
Determines color, shape and filledness of the shape.
Determines color shape and filledness of the shape .
void determine_type(Card& res, Mat& img) {
	cv::Vec3d average;
	int count;
	get_average_non_black(img, average, count);
	detect_color(res, average);
	detect_fullness(res, img);
	detect_shape(res, img);
}
void determine_type ( Card & res , Mat & img ) { cv :: Vec3d average ; int count ; get_average_non_black ( img , average , count ) ; detect_color ( res , average ) ; detect_fullness ( res , img ) ; detect_shape ( res , img ) ; }
Determines color, shape and filledness of the shape.
Determines color shape and filledness of the shape .
// imwrite("next_card.jpg", img); // BGR average.