#ifndef __I_FINDCODE_H__
#define __I_FINDCODE_H__

// *****************************************************************************
// ��Ȩ���У�C��2023~2099 �Ϻ����ɳ������������޹�˾
// ��������Ȩ��
// *****************************************************************************
// ���� : ½�̷�
// �汾 : 1.0
// ���봴�����ڣ�2025/02/10
// �汾�������ڣ�2025/02/10
// ����˵��:ɨ��ӿ�
// *****************************************************************************

#include <vector>
#include <string>
#include "TypeDef.h"

namespace JVision
{
	/**
	 * @brief ɨ��ӿڻ���
	 *
	 */
	class JVision_API IFindCode
	{

	public:
		virtual ~IFindCode() = 0 {}

		/**
		 * @brief ��ȡɨ����Ϣ
		 * @param[in] Image	   ��Ҫɨ���ͼƬ
		 * @param[in] codeMode ��Ҫɨ��ľ������� 1��ʾ��ά�� 2��ʾ������
		 *
		 * @return std::string ����ԭ�������ַ�
		 */
		virtual std::vector<std::string> ResultStr(const JVision::ImageInfo& Image, int codeMode) = 0;

		/**
		 * @brief ��ȡɨ�뺯����ʵ����ָ��
		 */
		static IFindCode* GetFindCode();
	};
}

#endif