How si-1-han/2026nemonemo works
네모네모 is a real-time mobile document scanner, with a Python reference implementation for algorithm evaluation and a PC demo. The user’s main flow is camera preview → live corner detection and stabilization → capture → perspective correction and image enhancement → scan result. The README documents the Flutter camera/pipeline structure and capture behavior; the Python orchestration and algorithm modules are excerpted, but most Dart runtime implementations are not, so their internal links rely on the documented structure rather than inspected calls.
Main entry points: scanner.dart Scan orchestration · pipeline.py Scan orchestration · scan_screen.dart Scan screen · dataset.py Evaluation dataset
Components 26
Mobile scanning
- Camera frames
app/lib/camera/frame_converter.dart - Live frame loop
app/lib/camera/frame_processor.dart - Scan screen
app/lib/screens/scan_screen.dart - Corner overlay
app/lib/widgets/quad_overlay.dart - Scan result
app/lib/screens/result_screen.dart
Vision pipeline
- Scan orchestration
app/lib/pipeline/scanner.dart - Preprocessing
app/lib/pipeline/preprocess.dart - Edge detection
app/lib/pipeline/edges.dart - Document corners
app/lib/pipeline/detect.dart - Corner stabilization
app/lib/pipeline/tracker.dart - Perspective warp
app/lib/pipeline/warp.dart - Image enhancement
app/lib/pipeline/enhance.dart
Python reference
- Scan orchestration
python/scanner/pipeline.py - Preprocessing
python/scanner/preprocess.py - Edge detection
python/scanner/edges.py - Document corners
python/scanner/detect.py - Corner stabilization
python/scanner/tracker.py - Perspective warp
python/scanner/warp.py - Image enhancement
python/scanner/enhance.py - Synthetic scenes
python/scanner/synthetic.py
Evaluation data
- Evaluation dataset
python/experiments/dataset.py - Detection evaluation
python/evaluate.py - Test photos
data/raw - Corner labels
data/labels.json - Golden data
data/golden
Other components
- Scanner user
Connections 28
- Scanner user → Scan screen: starts scan
README.md - Scan screen → Camera frames: opens camera
README.md - Camera frames → Live frame loop: converts frames
README.md - Live frame loop → Scan orchestration: processes frames
README.md - Scan orchestration → Preprocessing: preprocesses
README.md - Scan orchestration → Edge detection: detects edges
README.md - Scan orchestration → Document corners: finds corners
README.md - Scan orchestration → Corner stabilization: stabilizes corners
README.md - Live frame loop → Corner overlay: renders corners
README.md - Scanner user → Scan screen: captures image
README.md - Scan screen → Scan orchestration: processes capture
README.md - Scan orchestration → Perspective warp: warps document
README.md - Scan orchestration → Image enhancement: enhances image
README.md - Scan screen → Scan result: shows scan
README.md - Scan result → Scanner user: saves or shares
README.md - Scan orchestration → Preprocessing: preprocesses
python/scanner/pipeline.py - Scan orchestration → Edge detection: detects edges
python/scanner/pipeline.py - Scan orchestration → Document corners: finds corners
python/scanner/pipeline.py - Scan orchestration → Perspective warp: warps capture
python/scanner/pipeline.py - Scan orchestration → Image enhancement: enhances capture
python/scanner/pipeline.py - Evaluation dataset → Synthetic scenes: generates scenes
python/experiments/dataset.py - Evaluation dataset → Test photos: loads photos
python/experiments/dataset.py - Evaluation dataset → Corner labels: loads labels
python/experiments/dataset.py - Detection evaluation → Scan orchestration: runs detection
python/evaluate.py - Detection evaluation → Test photos: reads photos
python/evaluate.py - Detection evaluation → Corner labels: compares corners
python/evaluate.py - Synthetic scenes → Golden data: generates fixtures
README.md - Scan orchestration → Corner stabilization: captures when stable
README.md