gr_camera_detector library
A Dart package to detect photos taken with Ricoh GR camera series.
Supports detection via EXIF metadata and filename patterns. Works on all platforms including web (no dart:io dependency).
Classes
- GrCameraDetector
- Detects whether an image was taken with a Ricoh GR camera.
- GrDetectionResult
- Result of GR camera detection.
- GrDetectorConfig
- Configuration options for GrCameraDetector.
Enums
- DetectionMethod
- How the GR camera was detected.
- DetectionStatus
- The outcome status of a GR camera detection attempt.
- GrCameraModel
- Supported Ricoh GR camera models.
Constants
-
grModelMapping
→ const Map<
String, GrCameraModel> - Mapping from EXIF Model strings to GrCameraModel.
-
ricohMakeValues
→ const Set<
String> - Known EXIF Make values for Ricoh cameras.
Exceptions / Errors
- ExifParsingException
- Exception thrown when EXIF data parsing fails.
- GrDetectionException
- Base exception for GR camera detection errors.
- InvalidImageDataException
- Exception thrown when image bytes are invalid or empty.
- NoExifDataException
- Exception thrown when no EXIF data is found in a valid image.