Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroBone committed Feb 11, 2024
2 parents 23fdd07 + 66826c5 commit e9440ff
Show file tree
Hide file tree
Showing 167 changed files with 5,584 additions and 2,739 deletions.
175 changes: 175 additions & 0 deletions docs/assets/templates/driver_license_ru_01/driver_license_ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
id: "driver_license_ru"
name: "Driver License RU"
source: "driver_license_ru.jpg"
mutators:
source:
target:
keypoints:
title:
x: 453
y: 55
w: 792
h: 70
matches:
min: 15
max: 50
rus_symbol:
x: 138
y: 33
w: 187
h: 109
matches:
min: 2
max: 30
heading_bar:
x: 441
y: 154
w: 96
h: 610
matches:
min: 5
max: 30
heading_4b:
x: 802
y: 432
w: 67
h: 49
matches:
min: 1
max: 10
heading_67:
x: 58
y: 663
w: 51
h: 106
matches:
min: 3
max: 10
b_b1:
x: 531
y: 681
w: 141
h: 78
matches:
min: 0
max: 20
matching:
engine: sift_flann
config:
sift_flann:
sensitivity: 0.7
supervision:
engine: combinatorial
config:
combinatorial:
min_match_factor: 0.1
max_transformation_error: 5
result: best_score
features:
last_name_ru:
x: 525
y: 160
w: 600
h: 45
class: line_with_russian_text
last_name_en:
x: 525
y: 200
w: 600
h: 35
class: line_with_english_text
name_ru:
x: 525
y: 235
w: 600
h: 45
class: line_with_russian_text
name_en:
x: 525
y: 275
w: 600
h: 35
class: line_with_english_text
birthday:
x: 525
y: 310
w: 600
h: 45
class: line_with_english_text
place_of_birth_ru:
x: 525
y: 350
w: 600
h: 40
class: line_with_russian_text
place_of_birth_en:
x: 525
y: 390
w: 600
h: 35
class: line_with_english_text
issue_date:
x: 525
y: 430
w: 250
h: 45
class: line_with_english_text
expiry_date:
x: 875
y: 430
w: 250
h: 45
class: line_with_english_text
issue_authority_ru:
x: 525
y: 475
w: 600
h: 40
class: line_with_russian_text
issue_authority_en:
x: 525
y: 510
w: 600
h: 40
class: line_with_english_text
identifier:
x: 525
y: 550
w: 600
h: 50
class: line_with_english_text
issue_place_ru:
x: 525
y: 595
w: 600
h: 40
class: line_with_russian_text
issue_place_en:
x: 525
y: 630
w: 600
h: 40
class: line_with_english_text
face:
x: 87
y: 192
w: 313
h: 460
feature_classes:
line_with_text:
abstract: yes
mutators:
interpretation:
method: ocr_tesseract
config:
config: --dpi 1000
line_with_russian_text:
inherits: line_with_text
interpretation:
config:
lang: rus
line_with_english_text:
inherits: line_with_text
interpretation:
config:
lang: eng
23 changes: 23 additions & 0 deletions docs/dev/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## Release 1.2.0 (beta)

### Major changes

* Implemented the OfficialEye API. Now it is possible to interact with the program programatically, without the need of running the CLI.
* Reimplemented the CLI as a layer on top of the new API. Thus, the API and the internal implementation no longer contain any code that is specific to the CLI user interface. In particular, it is now easy to implement different frontends that rely on OfficialEye as a backend service.
* Implemented a framework for transparent and process-safe interaction with the API backend.
* Switched from thread-based to process-based parallelism for resource-intensive backend operations.
* Substrantially improved the CLI user interface.
* Numerous other related architecture changes aimed at the long-term stability of the software.
* Integrated a new error handling system and related debugging facilitibes.
* Removed the (legacy) orthogonal regression supervision engine.
* Temporarily disabled the ability to generate visualizations.

### Minor changes

* Removed the `--worker` argument from the `run` and `test` commands, because it has become redundant and unnececcary in light of the new architecture.
* Implemented a new approach to handling image outputting in the CLI, that is much more flexible compared to the previous one.
* Improved type annotations.
* Removed the `--visualize` argument from the `test` command.

[View on GitHub](https://github.com/ZeroBone/OfficialEye/releases/tag/1.2.0){ .md-button }

## Release 1.1.5 (beta)

* Added an `--interpret` option to the `run` and `test` commands, allowing one to optionally use a different target image for the interpretation phase.
Expand Down
3 changes: 0 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ icon: octicons/info-16

OfficialEye is an advanced tool designed to extract information from flat documents, such as passports or application forms, through image analysis. Leveraging state-of-the-art symbolic AI techniques, OfficialEye empowers users to effortlessly transform raw images into standardized canonical forms, facilitating the seamless extraction and processing of crucial information.

![GitHub Release](https://img.shields.io/github/v/release/ZeroBone/OfficialEye?label=latest%20release)
![PyPI - Version](https://img.shields.io/pypi/v/officialeye)


## Key features

Expand Down
Loading

0 comments on commit e9440ff

Please sign in to comment.