From 086ec74e94654e92b3a1c6f42612d12ef33ff4b2 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 28 十月 2022 14:41:08 +0800
Subject: [PATCH] '优化自启动机制'

---
 ConsoleApplication/OpenCLExcuter.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ConsoleApplication/OpenCLExcuter.h b/ConsoleApplication/OpenCLExcuter.h
index ee1007d..299e8c3 100644
--- a/ConsoleApplication/OpenCLExcuter.h
+++ b/ConsoleApplication/OpenCLExcuter.h
@@ -57,11 +57,11 @@
 
 
 	//将RGB图片转为灰度图片
-	void rgb2Gray(unsigned char* imgs, int imgWidth, int imgHeight,
+	void rgb2Gray(cv::Mat img,
 		unsigned char* result);
 
 	//将RGBA图片转为灰度图片
-	void rgba2Gray(unsigned char* imgs, int imgWidth, int imgHeight,
+	void rgba2Gray(cv::Mat img,
 		unsigned char* result);
 
 	//将RGB图片反转二值化灰度图片
@@ -95,6 +95,8 @@
 
 	void splitL2NumNew(cv::Mat img, IntDataInfo pos, UcharDataInfo result, UcharDataInfo types, unsigned char* zero, int num_width, int num_height, int ele_count_per_line, int length_per_num);
 
+	void splitTradeQueueNum(cv::Mat img, IntDataInfo pos, UcharDataInfo result, UcharDataInfo types, unsigned char* zero, int num_width, int num_height, int ele_count_per_line, int length_per_num);
+
 
 
 	//分隔板块数字
@@ -106,7 +108,7 @@
 
 	//分隔行数据
 	//每一行的数据分隔成7个区域
-	void splitL2RowData(unsigned char* imgs, int imgWidth, int imgHeight, int* rowIndexs, int lines,
+	void splitL2RowData(cv::Mat img, int* rowIndexs, int lines,
 		int* result);
 
 	void splitPlateContentRowData(unsigned char* imgs, int imgWidth, int imgHeight, int* rowIndexs, int lines, int lineEleCount,int fromIndex,int toIndex,

--
Gitblit v1.8.0