Documentation
¶
Overview ¶
Command charmera imports Kodak Charmera photos and videos into the macOS Photos app, repairing their broken EXIF (pure Go) and converting AVI to MP4 (via ffmpeg) along the way.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
cli
Package cli implements the charmera command-line interface.
|
Package cli implements the charmera command-line interface. |
|
config
Package config holds the runtime configuration for the charmera tool and its defaults.
|
Package config holds the runtime configuration for the charmera tool and its defaults. |
|
exiffix
Package exiffix repairs the broken EXIF that Kodak Charmera (Generalplus CBB3) cameras produce, entirely in pure Go.
|
Package exiffix repairs the broken EXIF that Kodak Charmera (Generalplus CBB3) cameras produce, entirely in pure Go. |
|
launchagent
Package launchagent installs and removes the macOS LaunchAgent that runs charmera automatically when the camera is plugged in.
|
Package launchagent installs and removes the macOS LaunchAgent that runs charmera automatically when the camera is plugged in. |
|
orient
Package orient detects the correct orientation of a photo using the DuarteBarbosa/deep-image-orientation-detection EfficientNetV2 ONNX model, so a rotated shot can be tagged with the right EXIF Orientation.
|
Package orient detects the correct orientation of a photo using the DuarteBarbosa/deep-image-orientation-detection EfficientNetV2 ONNX model, so a rotated shot can be tagged with the right EXIF Orientation. |
|
photos
Package photos imports media into the macOS Photos app via AppleScript (osascript), placing it in a named album that is created on first use.
|
Package photos imports media into the macOS Photos app via AppleScript (osascript), placing it in a named album that is created on first use. |
|
pipeline
Package pipeline orchestrates the full Charmera workflow: scan the camera, skip anything already in the Photos album, fix EXIF / convert video, import into Photos, then discard the staged copy.
|
Package pipeline orchestrates the full Charmera workflow: scan the camera, skip anything already in the Photos album, fix EXIF / convert video, import into Photos, then discard the staged copy. |
|
scan
Package scan finds and classifies the media files on a mounted Charmera, and computes the content hashes used for deduplication.
|
Package scan finds and classifies the media files on a mounted Charmera, and computes the content hashes used for deduplication. |
|
video
Package video converts the Charmera's uncompressed Motion-JPEG/PCM AVI files to H.264/AAC MP4, setting a correct creation_time (the camera hard-codes a wrong date).
|
Package video converts the Charmera's uncompressed Motion-JPEG/PCM AVI files to H.264/AAC MP4, setting a correct creation_time (the camera hard-codes a wrong date). |
Click to show internal directories.
Click to hide internal directories.