Skip to content

Commit c1dbe4b

Browse files
committed
Update Hal.cpp
1 parent 17fb5a3 commit c1dbe4b

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

VisionProj/Led/Led/Led/Hal.cpp

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,34 @@
1+
/*************************************************
2+
Copyright: HRG
3+
Author: LiuWake
4+
Date:06/04/19
5+
Description: 输入图像位置,返回OCR结果
6+
**************************************************/
7+
8+
9+
/*************************************************
10+
Function: 识别图像上的Led数码管数字
11+
Description: 输入图像位置,返回OCR结果
12+
Calls: // Null
13+
Table Accessed: // Null
14+
Table Updated: // Null
15+
Input: string 输入文件位置,如"C:/Led/led1.jpg";
16+
需要是绝对位置,相对位置可能出错;注意斜杠反斜杠;
17+
Output: string 输出识别结果,eg 840
18+
Return: string 输出识别结果,eg 840
19+
Others: null
20+
*************************************************/
21+
22+
//Halcon库
123
#include "HalconCpp.h"
224
using namespace HalconCpp;
325

26+
//公共库
427
using namespace std;
528
#include <string>
6-
729
#include <iostream>
30+
31+
//自写函数头
832
#include "Hal.h"
933

1034

0 commit comments

Comments
 (0)