Skip to content

Conversation

@Pearapps
Copy link
Collaborator

@Pearapps Pearapps commented Nov 10, 2025

Progress on: #12016

Adds in some live feedback if you are scanning the wrong side of the document for the side requested & to center the ID if it is not centered in the view frame; during document capture.

Also - this adds in some live feedback during document capture for when the id is too blurry or the distance is not correct and can be corrected.

Examples:

ID distance:

Screenshot_20251117-145630 Screenshot_20251117-145709

Focus:

Screenshot_20251119-152218 Screenshot_20251119-152236

Centering

Screenshot_20251118-123323 Screenshot_20251118-123416

Incorrect side:

Screenshot_20251118-123338 Screenshot_20251118-123356

@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2025

Diffuse output:

OLD: identity-example-release-base.apk (signature: V1, V2)
NEW: identity-example-release-pr.apk (signature: V1, V2)

          │            compressed            │           uncompressed           
          ├───────────┬───────────┬──────────┼───────────┬───────────┬──────────
 APK      │ old       │ new       │ diff     │ old       │ new       │ diff     
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
      dex │   2.1 MiB │   2.1 MiB │   +671 B │   4.3 MiB │   4.3 MiB │   +848 B 
     arsc │   1.1 MiB │   1.1 MiB │ +5.7 KiB │   1.1 MiB │   1.1 MiB │ +5.7 KiB 
 manifest │   2.3 KiB │   2.3 KiB │      0 B │     8 KiB │     8 KiB │      0 B 
      res │ 303.5 KiB │ 303.5 KiB │      0 B │ 457.7 KiB │ 457.7 KiB │      0 B 
   native │   7.9 MiB │   7.9 MiB │      0 B │  19.3 MiB │  19.3 MiB │      0 B 
    asset │   7.5 KiB │   7.5 KiB │     -5 B │   7.2 KiB │   7.2 KiB │     -5 B 
    other │  95.2 KiB │  95.2 KiB │     +8 B │ 183.2 KiB │ 183.2 KiB │      0 B 
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
    total │  11.4 MiB │  11.4 MiB │ +6.4 KiB │  25.3 MiB │  25.3 MiB │ +6.6 KiB 

 DEX     │ old   │ new   │ diff       
─────────┼───────┼───────┼────────────
   files │     1 │     1 │  0         
 strings │ 20466 │ 20467 │ +1 (+3 -2) 
   types │  6294 │  6294 │  0 (+0 -0) 
 classes │  5054 │  5054 │  0 (+0 -0) 
 methods │ 30684 │ 30687 │ +3 (+3 -0) 
  fields │ 17587 │ 17589 │ +2 (+3 -1) 

 ARSC    │ old  │ new  │ diff       
─────────┼──────┼──────┼────────────
 configs │  163 │  163 │  0         
 entries │ 3667 │ 3673 │ +6 (+6 -0)
APK
     compressed      │    uncompressed     │                                           
──────────┬──────────┼──────────┬──────────┤                                           
 size     │ diff     │ size     │ diff     │ path                                      
──────────┼──────────┼──────────┼──────────┼───────────────────────────────────────────
  1.1 MiB │ +5.7 KiB │  1.1 MiB │ +5.7 KiB │ ∆ resources.arsc                          
  2.1 MiB │   +671 B │  4.3 MiB │   +848 B │ ∆ classes.dex                             
 29.2 KiB │     +7 B │ 64.5 KiB │      0 B │ ∆ META-INF/CERT.SF                        
  6.7 KiB │     -5 B │  6.6 KiB │     -5 B │ ∆ assets/dexopt/baseline.prof             
  1.2 KiB │     +2 B │  1.2 KiB │      0 B │ ∆ META-INF/CERT.RSA                       
 25.9 KiB │     -2 B │ 64.5 KiB │      0 B │ ∆ META-INF/MANIFEST.MF                    
    272 B │     +1 B │    120 B │      0 B │ ∆ META-INF/version-control-info.textproto 
──────────┼──────────┼──────────┼──────────┼───────────────────────────────────────────
  3.2 MiB │ +6.4 KiB │  5.5 MiB │ +6.6 KiB │ (total)
DEX
STRINGS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   20466 │ 20467 │ +1 (+3 -2) 
  
  + r8-map-id-3f7976a594fa6b3024742be7019b8a33cb7b3721c7e772f1fa9385b0d7c9e595
  + reachedStateAt
  + ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"3f7976a594fa6b3024742be7019b8a33cb7b3721c7e772f1fa9385b0d7c9e595","r8-mode":"full","version":"8.13.17"}
  
  - r8-map-id-9dec9e3eac4474713e1621c074f234be4a57143ed4e5f0b183015320c565db66
  - ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"9dec9e3eac4474713e1621c074f234be4a57143ed4e5f0b183015320c565db66","r8-mode":"full","version":"8.13.17"}
  

METHODS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   30684 │ 30687 │ +3 (+3 -0) 
  
  + u8.g <init>(j, n, b, Integer, Boolean)
  + u8.g b(Integer) → g
  + u8.h <init>(j, n, Integer)
  

FIELDS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   17587 │ 17589 │ +2 (+3 -1) 
  
  + u8.g e: Integer
  + u8.g f: Boolean
  + u8.h d: Integer
  
  - u8.g e: Boolean
ARSC
ENTRIES:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   3667 │ 3673 │ +6 (+6 -0) 
  + string/stripe_back_of_id_not_detected
  + string/stripe_front_of_id_not_detected
  + string/stripe_move_closer
  + string/stripe_move_farther
  + string/stripe_move_id_to_center
  + string/stripe_reduce_blur

@Pearapps Pearapps changed the title [Draft] [Identity] Feedback to center ID if off center during document capture [Identity] Feedback to flip ID Document over if incorrect side is detected & center ID if off center Nov 13, 2025
@Pearapps Pearapps marked this pull request as ready for review November 13, 2025 15:47
@Pearapps Pearapps requested review from a team as code owners November 13, 2025 15:47
@Pearapps Pearapps marked this pull request as draft November 18, 2025 16:39
Pearapps and others added 3 commits November 18, 2025 11:43
#11993)

* Update IDDetectorTransitioner.kt

* Update IDDetectorTransitionerTest.kt

* closer and further

* Update IDDetectorTransitioner.kt

* Update IDDetectorTransitioner.kt

* Update IDDetectorTransitioner.kt

---------

Co-authored-by: Ken Ackerson <[email protected]>
@Pearapps Pearapps changed the title [Identity] Feedback to flip ID Document over if incorrect side is detected & center ID if off center [Identity] Feedback to flip ID Document over if incorrect side is detected, center ID if off center, ID is too blurry, and if distance needs correction Nov 18, 2025
@Pearapps Pearapps marked this pull request as ready for review November 18, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants