Skip to content

Claude/fix camera scan pjn jq#55

Merged
BEKO2210 merged 2 commits intomainfrom
claude/fix-camera-scan-pjnJq
Mar 14, 2026
Merged

Claude/fix camera scan pjn jq#55
BEKO2210 merged 2 commits intomainfrom
claude/fix-camera-scan-pjnJq

Conversation

@BEKO2210
Copy link
Owner

Description

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • CI/CD changes

Related Issues

Screenshots

Before After

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • All UI text is in German with correct umlauts (or uses i18n keys)
  • I have added translation keys for both de and en if new text was added
  • npm run build completes without errors
  • npm run test passes all tests
  • npx tsc --noEmit reports no type errors
  • No unused imports or variables (noUnusedLocals: true)
  • Tailwind classes used (no separate CSS files)
  • Lucide React icons used (no other icon libraries)

Testing

  • Tested in Chrome
  • Tested in Firefox/Safari
  • Tested on mobile
  • Tested offline functionality
  • Tested dark mode
  • Tested light mode

claude added 2 commits March 14, 2026 03:29
Auf Multi-Kamera-Geräten (Samsung S23 etc.) wurde oft die Weitwinkel-
kamera statt der Hauptkamera gewählt, was zu unscharfen Scans führte.

Änderungen:
- Neue selectBestRearCamera() Funktion: enumeriert alle Kameras,
  filtert Weitwinkel/Tele/Macro per Label-Analyse, bevorzugt Hauptkamera
- Zoom auf 1.0x setzen wenn vom Gerät unterstützt
- Autofokus (continuous) wird nach Stream-Start via applyConstraints
  erzwungen, da manche Geräte initiale Constraints ignorieren
- Höhere Auflösung (1920x1080) für bessere Barcode-Erkennung
- Robuster Fallback auf facingMode: environment wenn Enumeration fehlschlägt

https://claude.ai/code/session_015qtYL5oNDLJYrmH5JRAGqS
@BEKO2210 BEKO2210 merged commit bd95638 into main Mar 14, 2026
1 check failed
@BEKO2210 BEKO2210 deleted the claude/fix-camera-scan-pjnJq branch March 14, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants