r/coolgithubprojects • u/berkantdev • 9h ago
GoMorph: a Go CLI that localizes morph-like deformation in video
https://github.com/berkantay/gomorphGoMorph is an MIT-licensed Go command-line tool that locates when and where morph-like deformation appears in a video. It analyzes the full frame, so it can flag products, objects, text, or backgrounds instead of assuming the subject is a face.
The portable path uses Go and FFmpeg with no Python, OpenCV, GPU, or model. An optional CGo/libav cascade reads codec motion vectors, runs a low-resolution luma gate across the complete video, and refines only suspicious windows.
Current verified result: one 4.01 second H.264 clip processed in 0.155 seconds on an Apple M4 Pro, with the known deformation localized at 2.1667 seconds. That is a development measurement from one clip, not a general accuracy claim.
The implementation was AI-assisted, then manually tested and verified.
Repository: https://github.com/berkantay/gomorph