MIR-OCR

테이블 (7)

TB_OCR_JAVASCRIPT

  • script_id — int — 기본 키 — NOT NULL
  • script_name — varchar(50)
  • script_contents — varchar(900)
  • create_time — timestamp
  • update_time — timestamp
  • script_desc — varchar(200)

TB_OCR_TEMPLATE

  • template_id — int — 기본 키 — NOT NULL — 템플릿 아이디
  • template_name — VARCHAR2(150) — 템플릿 명
  • template_desc — VARCHAR2(250) — NOT NULL — 템플릿 설명
  • template_writer — VARCHAR2(20) — NOT NULL — 템플릿 작성자
  • create_time — TIMESTAMP — 템플릿 생성시간
  • update_time — TIMESTAMP — 탬플릿 생성 시간
  • template_width — int — 템플릿 이미지 너비
  • template_height — int — 템플릿 이미지 높이
  • word_space_width — int — 글자 인식 영역 너비
  • word_space_height — int — 글자 인식 영역 높이
  • word_space_start_x — int
  • word_space_start_y — int
  • logo_start_x — int
  • logo_start_y — int
  • logo_end_x — int
  • logo_end_y — int
  • image_path — varchar(400)
  • text_arrange — int — 3 자동 5 세로 쓰기 6 가로 쓰기 7 한 줄 8 단어 한 개 10 문자 한 개
  • remove_noise — int — 0 제거 1 제거안함
  • img_rotation_angle — int — 이미지를 회전시키며 인식할 경우 회전 각도
  • training_data — varchar(60) — 템플릿을 인식시킬 학습데이터셋 명칭

TB_OCR_TEMPLATE_SPACE

  • space_id — int — 기본 키 — NOT NULL
  • template_id — int — 외래 키 → TB_OCR_TEMPLATE.template_id — NOT NULL — 템플릿 아이디
  • script_id — int — 외래 키 → TB_OCR_JAVASCRIPT.script_id — NOT NULL
  • space_name — varchar2(100)
  • space_start_x — int
  • space_start_y — int
  • space_end_x — int
  • space_end_y — int
  • text_arrange — int — 3 자동 5 세로 쓰기 6 가로 쓰기 7 한 줄 8 단어 한 개 10 문자 한 개
  • remove_noise — int — 0 제거 1 제거안함
  • save_image — boolean
  • masking — int — 0 사용안함 1 모자이크 2 흐릿함 3 가리기
  • training_data — varchar(60) — 템플릿을 인식시킬 학습데이터셋 명칭
  • vertical_repeat — int — 영역이 수직으로 반복 되는 영역일 경우 반복 회수
  • horizental_repeat — int — 영역이 수평으로 반복되는 영역일 경우 반복 회수

데이터 (data)

  • index (id) — INT — 기본 키 — NOT NULL
  • 이미지 (image_id) — INT — 외래 키 → 이미지.index — NOT NULL
  • 생성 시간 (created_time) — DATE
  • 수정 시간 (modified_time) — DATE
  • 첫 번째 데이터 (field1) — TEXT
  • 두 번째 데이터 (field2) — TEXT
  • n 번째 데이터 (fieldn) — TEXT
  • 첫 번째 반복 영역 (repeated_data1_id) — INT — 외래 키 → 반복데이터1.index — NOT NULL
  • 두 번째 반복 영역 (repeated_data2_id) — INT — 외래 키 → 반복데이터2.index — NOT NULL

반복데이터1 (repeated_data1)

  • index (id) — INT — 기본 키 — NOT NULL
  • name — TEXT
  • 첫 번째 데이터 (field1) — TEXT
  • 두 번째 데이터 (field2) — TEXT
  • n 번째 데이터 (fieldn) — TEXT

반복데이터2 (repeated_data2)

  • index (id) — INT — 기본 키 — NOT NULL
  • name — TEXT
  • 첫 번째 데이터 (field1) — TEXT
  • n 번째 데이터 (fieldn) — TEXT

이미지 (images)

  • index (id) — INT — 기본 키 — NOT NULL
  • template_id — int — 외래 키 → TB_OCR_TEMPLATE.template_id — NOT NULL — 템플릿 아이디
  • 파일명 (name) — TEXT
  • 저장시간 (created_time) — DATE
  • 경로 (image_dir) — TEXT
  • height — INT
  • width — INT