패키지, 저장소 및 앱 카테고리 검색

mnc_identifier_ocr 표지
패키지 상세v1.0.23

mnc_identifier_ocr

iOS 및 Android에서 빠르고 정확한 신원 확인을 위한 크로스 플랫폼 KTP 스캔.

AndroidiOS
30일 다운로드
53
좋아요
30
Pub 점수
130

패키지 설치

flutter pub add mnc_identifier_ocr

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

안드로이드 및 iOS에서 인도네시아 KTP(국민신분증) 문서를 스캔하기 위한 크로스 플랫폼 플러터 패키지입니다. OCR 기술을 활용하여 KTP 이미지에서 핵심 개인 정보를 추출함으로써 빠르고 정확한 신원 확인을 가능하게 합니다. 안전한 사용자 인증 또는 온보딩 프로세스가 필요한 모바일 애플리케이션에 원활하게 통합될 수 있도록 설계되었습니다. 두 플랫폼 모두 지원하며, 실제 환경에서의 성능과 신뢰성을 최적화했습니다.

사용 사례

  • 온보딩 중 신원 확인
  • 자동 KTP 데이터 추출
  • 안전한 사용자 인증
  • 디지털 KYC 프로세스
  • 문서 기반 신원 검증
  • 모바일 앱 온보딩 워크플로우

주요 기능

  • Android 및 iOS용 크로스플랫폼 지원
  • 인도네시아 KTP용 고정밀 OCR
  • 빠른 문서 스캔 및 데이터 추출
  • 무결점 플러터 통합
  • 현실 세계의 조명과 각도에 최적화됨
  • 최소한의 설정 필요

적합한 대상

  • 신원 확인이 필요한 모바일 앱
  • 금융 서비스 및 핀테크 플랫폼
  • 정부 디지털 서비스
  • KYC 준수를 갖춘 온보딩 시스템
  • 인도네시아 사용자를 대상으로 하는 앱

고려 사항

  • 모든 플랫폼에서 카메라 권한이 필요합니다
  • 나쁜 조명 환경에서는 성능이 달라질 수 있습니다
  • 명확하고 잘 조명된 KTP 이미지로 최상의 결과를 얻을 수 있습니다
  • 인도네시아 KTP 형식에 제한됨
  • 생산 환경 사용을 위해 추가 검증 로직이 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

MNC Identifier OCR

banner_ocr

A Flutter plugin for Android and iOS for scanning KTP

Installation

Add dependency

You can use the command to add MNC Identifier OCR as a dependency with the latest stable version:

$ dart pub add mnc_identifier_ocr

Or you can manually add MNC Identifier OCR into the dependencies section in your pubspec.yaml:

dependencies:
  mnc_identifier_ocr: ^replace-with-latest-version

The latest version is: 1.0.22

Additional Steps

Android

This plugin requires Android SDK 21 or higher.

Add CaptureOCRActivity into your AndroidManifest.xml

<activity android:name="id.mncinnovation.ocr.CaptureOCRActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
iOS

This plugin requires iOS 12.0 or higher and only working on real device.

Add NSCameraUsageDescription key to your info.plist file. Describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.

Usage

import 'package:mnc_identifier_ocr/mnc_identifier_ocr.dart';
import 'package:mnc_identifier_ocr/model/ocr_result_model.dart';

Future<void> scanKtp() async {
  try {
    OcrResultModel res = await MncIdentifierOcr.startCaptureKtp(
      withFlash: true,
      cameraOnly: true,
    );
    debugPrint('result: ${res.toJson()}');
    debugPrint('KTP image path: ${res.imagePath}');
    debugPrint('Face image path: ${res.faceImagePath}');
    // Access KTP data fields
    debugPrint('NIK: ${res.ktp?.nik}');
    debugPrint('Nama: ${res.ktp?.nama}');
    // ...and so on
  } catch (e) {
    debugPrint('something goes wrong $e');
  }
}
  • imagePath contains the path to the full KTP image.
  • faceImagePath contains the path to the cropped face image.
  • ktp contains the extracted KTP data fields.

Note: On iOS, this plugin only works on a real device.

카테고리

의존성

의존성 목록 3 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.