[BUG] Camera defaults to 0.7x ultra-wide lens instead of 1x, causing blurry scans

Aperta
#693 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, cpp
Ambito
mobile

Direzione di ricerca

Riproduci il comportamento della fotocamera al primo avvio sul Pixel 7 segnalato e individua l'implementazione della fotocamera dello scanner Android che inizializza lo zoom e ripristina la scelta dell'obiettivo dell'utente. Verifica come viene selezionato l'obiettivo predefinito quando non esiste alcuna impostazione salvata, quindi verifica che le nuove scansioni inizino con la fotocamera primaria 1x senza compromettere le selezioni memorizzate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug done
Which app is your issue for

Document Scanner

Version

Google Play : Version 1.25.0

What platform are you using?

Android

OS Version

Android 16
Google Pixel 7 (Stock ROM)

What happened?
Description

On my Google Pixel 7, the scanner camera opens with the zoom level set to 0.7x (ultra-wide lens) by default instead of the standard 1x lens.

Because the app starts on the ultra-wide camera, the captured document appears noticeably blurrier than expected. At first I assumed there was an issue with my phone's camera or focus, but after some testing I realized that manually switching the zoom to 1x immediately produces sharp scans.

Expected behavior

The scanner should open using the device's primary camera (typically 1x) by default, or remember the last camera/lens selected by the user.

I noticed that after I manually switch to 1x, the app remembers that setting on subsequent launches, which is great. However, first-time users may not realize the scanner is using the ultra-wide lens by default and may assume the app's camera quality is poor.

On devices with a 0.5x ultra-wide lens, the effect can be even more noticeable because the document appears much smaller in the viewfinder. While on my Pixel 7 (0.7x) the difference isn't dramatic, it was still enough for me to spend time troubleshooting why scans looked blurrier than expected before realizing the default lens was the cause.

This would:

  • Prevent users from getting blurry scans on devices with an ultra-wide camera.
  • Match the standard camera lens that most users expect for document scanning.
  • Avoid confusion, since many users may not realize that 0.7x is being used by default.
Device
  • Device: Google Pixel 7
  • Android: 16
  • Default camera opens at: 0.7x
  • Manual switch to 1x fixes the issue.
  • App version : 1.25.0
Relevant log output
No relevant logs available.
Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
C++
Stelle
2.7k
Fork
153
Merge medio
9h 34m
PR unite (30g)
123

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ossappscollective/OSS-DocumentScanner

Tutte le issue di ossappscollective/OSS-DocumentScanner

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.