You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
/*
|
|
* @Author: xiewenji 527774126@qq.com
|
|
* @Date: 2025-09-25 16:25:30
|
|
* @LastEditors: xiewenji 527774126@qq.com
|
|
* @LastEditTime: 2025-09-25 17:16:49
|
|
* @FilePath: /BOE_POL_ET_Detect/AlgorithmModule/include/AI_Mark_Det.h
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
/*
|
|
//实现对部分缺陷 需要进行 数量 和距离上分析的
|
|
*/
|
|
#ifndef ParmNameChange_H_
|
|
#define ParmNameChange_H_
|
|
#include <string>
|
|
|
|
class ParmNameChange
|
|
{
|
|
|
|
private:
|
|
/* data */
|
|
public:
|
|
ParmNameChange(/* args */);
|
|
~ParmNameChange();
|
|
|
|
static ParmNameChange *getInstance();
|
|
|
|
// 从web参数的相机名称获得 工位序号
|
|
int GetWorkIdx_WebConfigCamNameT(std::string strWebConfigCamName);
|
|
// 从检测图片的相机名称 获得 界面的参数的相机名称
|
|
std::string GetWebConfigCamName_DetImgCamName(std::string strDetImgCamName);
|
|
|
|
public:
|
|
bool m_nWorkIdx; // 工位序号
|
|
|
|
private:
|
|
static ParmNameChange *instance; // 静态成员指针,存储单例对象
|
|
bool m_bUseWorkIdx; // 是否使用 工位序号
|
|
};
|
|
|
|
#endif |