Micro QR Code Decoder

1 개요

2D 바코드 중 하나인 Micro QR Code 코드를 인식하는 알고리즘입니다.

2 알고리즘 상세 설명

Result Image
Result Image
Fig. Micro QR Code Decoder

QR Code와는 달리 Finder Pattern이 1개만 존재합니다. Micro QR Code의 인코딩 버전은 1~4까지 있으며, 모든 버전을 지원합니다.

3 파라미터 설정 및 사용 방법

4 예제 코드

CMicroQRCodeDecoder qrCode;
//////////////////////////////////
// 공통 파라미터 설정
//////////////////////////////////

//////////////////////////////////
// 추가 옵션 설정
//////////////////////////////////

qrCode.SetSymbolType(EMicroQRCodeSymbolType_Decoding_All);
qrCode.SetDetectingCount(EDataCodeDecoderDetectingCount_All);
qrCode.Execute();

// 인식에 성공한 코드 결과를 가져옵니다.
int resultCount = qrCode.GetResultCount();

for(int i = 0; i < resultCount; ++i)
{
    CMicroQRCodeDecoder::CMicroQRCodeInformation codeResult;
    qrCode.GetResultMicroQRCode(i, codeResult);
}
CMicroQRCodeDecoder qrCode = new CMicroQRCodeDecoder();
//////////////////////////////////
// 공통 파라미터 설정
//////////////////////////////////

//////////////////////////////////
// 추가 옵션 설정
//////////////////////////////////

qrCode.SetSymbolType(EMicroQRCodeSymbolType.Decoding_All);
qrCode.SetDetectingCount(EDataCodeDecoderDetectingCount.All);
qrCode.Execute();

// 인식에 성공한 코드 결과를 가져옵니다.
long resultCount = qrCode.GetResultCount();

for(long i = 0; i < resultCount; ++i)
{
    CMicroQRCodeDecoder.CMicroQRCodeInformation codeResult;
    qrCode.GetResultMicroQRCode(i, out codeResult);
}

5 관련 알고리즘

CBarcodeDecoder, CBarcodeEncoder, CDataMatrixDecoder, CDataMatrixEncoder, CDataMatrixVerifier, CQRCCodeDecoder, CQRCCodeEncoder, CQRCCodeVerifier, CMicroQRCodeEncoder, CMicroQRCodeVerifier, CUnifiedDataCodeDecoder,