--- title: "명함" slug: "ai-application-service-ocr-ocrdocumentocr-namecard" tags: ["CLOVA OCR"] updated: 2026-09-17T09:10:00Z published: 2026-09-17T09:10:00Z canonical: "api-fin.ncloud-docs.com/ai-application-service-ocr-ocrdocumentocr-namecard" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-fin.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 명함 특화 모델 엔진을 사용하여 명함의 입력 정보(key-value)를 인식하고 추출합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /name-card | ### 요청 헤더 CLOVA OCR API에서 공통으로 사용하는 헤더에 대한 정보는 [CLOVA OCR 요청 헤더](/docs/ai-application-service-ocr#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. #### `Content-Type: application/json`인 경우 요청 헤더 `Content-Type`이 `application/json`인 경우의 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `version` | String | Required | 버전 정보 - `V2`만 사용 | | `requestId` | String | Required | 임의의 API 호출 UUID | | `timestamp` | Integer | Required | 임의의 API 호출 시각(밀리초) - Unix Timestamp 형식 | | `images` | Array | Required | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#images1) | #### `Content-Type: multipart/form-data`인 경우 요청 헤더 `Content-Type`이 `multipart/form-data`인 경우의 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `message` | Object | Required | 요청 데이터 정보 | | `message.version` | String | Required | 버전 정보 - `V2`만 사용 | | `message.requestId` | String | Required | 임의의 API 호출 UUID | | `message.timestamp` | Integer | Required | 임의의 API 호출 시각(밀리초) - Unix Timestamp 형식 | | `message.images` | Array | Required | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#images1) | | `file` | File | Required | OCR 인식 이미지 파일 | #### `images` `images`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `format` | String | Required | 이미지 형식 - `jpg` \| `jpeg` \| `png` \| `pdf` \| `tif` \| `tiff` - 이미지: `jpg`, `jpeg`, `png` - 단일 페이지: `pdf`, `tif`, `tiff` - 이미지 형식 중 하나를 선택하여 입력 | | `name` | String | Required | 임의의 이미지 이름 - 이미지 식별 및 응답 결과 확인 시 사용 | | `data` | String | Required | Base64 인코딩된 이미지 데이터 - `Content-Type: application/json`일 때 입력 가능 | ### 요청 예시 요청 예시는 다음과 같습니다. #### `Content-Type: application/json`인 경우 요청 헤더 `Content-Type`이 `application/json`인 경우의 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://cbgrx5natw.apigw.fin-ntruss.com/custom/v1/{DomainId}/{InvokeKey}/document/name-card' \ --header 'Content-Type: application/json' \ --header 'X-OCR-SECRET: {앱 등록 시 발급받은 Secret Key}' \ --data '{ "version": "V2", "requestId": "1234", "timestamp": 0, "images": [ { "format": "jpg", "name": "namecard_test2", "data": "{Base64 인코딩된 이미지 데이터}" } ] }' ``` #### `Content-Type: multipart/form-data`인 경우 요청 헤더 `Content-Type`이 `multipart/form-data`인 경우의 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://cbgrx5natw.apigw.fin-ntruss.com/custom/v1/{DomainId}/{InvokeKey}/document/name-card' \ --header 'X-OCR-SECRET: {앱 등록 시 발급받은 Secret Key}' \ --header 'Content-Type: multipart/form-data' \ --form 'message="{\"version\": \"V2\", \"requestId\": \"1234\", \"timestamp\": 1724832750462, \"images\": [{\"format\": \"jpg\", \"name\": \"namecard_test\"}]}"' \ --form 'file={file}.jpg"' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `version` | String | - | 버전 정보 - `V2`만 사용 | | `requestId` | String | - | API 호출 UUID | | `timestamp` | Integer | - | API 호출 시각(밀리초) - Unix Timestamp 형식 | | `images` | Array | - | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#images2) | #### `images` `images`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `uid` | String | - | 명함 이미지 UID - APi 유효성 검사 시 사용 | | `name` | String | - | 명함 이미지 이름 - 이미지 식별 및 응답 결과 확인 시 사용 | | `inferResult` | String | - | 명함 이미지 인식 결과 - `SUCCESS` \| `FAILURE` \| `ERROR` - `SUCCESS`: 인식 성공 - `FAILURE`: 인식 실패 - `ERROR`: 인식 처리 예외 | | `message` | String | - | 결과 메시지 | | `validationResult` | Object | - | 유효성 검사 결과 정보 | | `validationResult.result` | String | - | 유효성 검사 결과 코드 - `NO_REQUESTED` \| `UNCHECKED` \| `ERROR` \| `VALID` \| `INVALID` - `NO_REQUESTED`: 검증 작업 미요청(유효성 검사 실패) - `UNCHECKED`: 검증 여부 확인 불가 - `ERROR`: 검증 시 에러 발생(유효성 검사 실패) - `VALID`: 검증 결과 유효(유효성 검사 성공) - `INVALID`: 검증 통과 실패 | | `validationResult.message` | String | - | 유효성 검사 결과 세부 메시지 - 항상 응답되는 값은 아님 | | `convertedImageInfo` | Object | - | 변환 이미지 정보 - `format`이 `pdf` 또는 `tiff`일 때 - 좌표 값은 호출 이미지 파일을 기준으로 설정 | | `convertedImageInfo.width` | Integer | - | 변환 이미지 가로 길이 | | `convertedImageInfo.height` | Integer | - | 변환 이미지 세로 길이 | | `convertedImageInfo.pageIndex` | Integer | - | 변환 이미지 페이지 인덱스 | | `nameCard` | Object | - | 명함 세부 정보 | | `nameCard.meta` | Object | - | 메타 정보 | | `nameCard.meta.estimatedLanguage` | String | - | OCR 추정 언어 - `ko` \| `en` \| `ja` - `ko`:한국어 - `en`: 영어 - `ja`: 일본어 | | `nameCard.result` | Object | - | 명함 OCR 인식 결과: [result](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#result) | #### `result` `result`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `name` | Array | - | 이름 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `nameFurigana` | Array | - | 후리가나 이름 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 - 후리가나 이름 정보(`nameCard.meta.estimatedLanguage`)가 일본어(`ja`)일 경우만 응답 | | `company` | Array | - | 회사 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `address` | Array | - | 주소 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `position` | Array | - | 직급 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `department` | Array | - | 부서 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `mobile` | Array | - | 휴대폰 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `tel` | Array | - | 전화 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `fax` | Array | - | 팩스 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `email` | Array | - | 이메일 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | | `homepage` | Array | - | 홈페이지 정보 - [공통 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#%EA%B3%B5%ED%86%B5%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) 참조 | #### 공통 객체 정보 공통 객체에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `text` | String | - | 인식된 텍스트 | | `keyText` | String | - | 인식된 텍스트의 키 값 | | `confidenceScore` | Float | - | 인식된 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 | | `boundingPoly` | Object | - | Bounding Poly 정보 | | `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#boundingpolys) | | `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#maskingpolys) | #### `boundingPolys` `boundingPolys`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `vertices` | Array | - | vertices 세부 정보: [vertices](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#vertices) | #### `maskingPolys` `maskingPolys`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `vertices` | Array | - | vertices 세부 정보: [vertices](/docs/ai-application-service-ocr-ocrdocumentocr-namecard#vertices) | #### `vertices` `vertices`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `x` | Float | - | X축 좌표 값 | | `y` | Float | - | Y축 좌표 값 | ### 응답 상태 코드 CLOVA OCR API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [CLOVA OCR 공통 응답 상태 코드](/docs/ai-application-service-ocr#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. #### 성공 호출이 성공한 경우의 응답 예시는 다음과 같습니다. ``` { "version": "V2", "requestId": "1234", "timestamp": 1725235494383, "images": [ { "uid": "{uid}", "name": "namecard_test", "inferResult": "SUCCESS", "message": "SUCCESS", "validationResult": { "result": "NO_REQUESTED" }, "nameCard": { "meta": { "estimatedLanguage": "ko" }, "result": { "name": [ { "text": "김**", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 92.0, "y": 103.0 }, { "x": 218.0, "y": 103.0 }, { "x": 218.0, "y": 141.0 }, { "x": 92.0, "y": 141.0 } ] } ], "maskingPolys": [] } ], "company": [ { "text": "** **대리점", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 90.0, "y": 255.0 }, { "x": 237.0, "y": 255.0 }, { "x": 237.0, "y": 284.0 }, { "x": 90.0, "y": 284.0 } ] } ], "maskingPolys": [] } ], "address": [ { "text": "서울특별시 ***", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 91.0, "y": 287.0 }, { "x": 376.0, "y": 287.0 }, { "x": 376.0, "y": 312.0 }, { "x": 91.0, "y": 312.0 } ] } ], "maskingPolys": [] } ], "position": [ { "text": "****", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 226.0, "y": 114.0 }, { "x": 300.0, "y": 114.0 }, { "x": 300.0, "y": 138.0 }, { "x": 226.0, "y": 138.0 } ] } ], "maskingPolys": [] } ], "mobile": [ { "text": "010********", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 88.0, "y": 145.0 }, { "x": 300.0, "y": 145.0 }, { "x": 300.0, "y": 175.0 }, { "x": 88.0, "y": 175.0 } ] } ] } ], "tel": [ { "text": "02-****-****", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 89.0, "y": 311.0 }, { "x": 264.0, "y": 311.0 }, { "x": 264.0, "y": 333.0 }, { "x": 89.0, "y": 333.0 } ] } ] } ], "fax": [ { "text": "02-****-****", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 89.0, "y": 334.0 }, { "x": 264.0, "y": 334.0 }, { "x": 264.0, "y": 358.0 }, { "x": 89.0, "y": 358.0 } ] } ] } ], "email": [ { "text": "****@****.net", "keyText": "", "confidenceScore": 0.0, "boundingPolys": [ { "vertices": [ { "x": 137.0, "y": 359.0 }, { "x": 312.0, "y": 359.0 }, { "x": 312.0, "y": 382.0 }, { "x": 137.0, "y": 382.0 } ] } ], "maskingPolys": [] } ] } } } ] } ``` #### 실패 호출이 실패한 경우의 응답 예시는 다음과 같습니다. ``` { "version": "V2", "requestId": "1234", "timestamp": 1725235840459, "images": [ { "uid": "{uid}", "name": "namecard_test2", "inferResult": "ERROR", "message": "Read page:0 error.", "validationResult": { "result": "NO_REQUESTED" } } ] } ```