MorseBuddy is a simple android application that can decode Morse signals using the phone camera. It detects light transmitted from a distant signal lamp and processes the recorded morse signal to obtain morse code. Finally, it uses the Morse code table to translate it into readable text.
The camera system uses the CameraX library, which provides a consistent, easy-to-use API and employs a simple use case-based approach that is also lifecycle-aware. It also resolves device compatibility issues.
- Generate samples by processing camera frames from the camera device.
- Record samples at a fixed rate to construct a complete signal.
- Calculate the duration of dots, dash, and spaces in the record using some techniques.
- Resolve Morse code and try to translate it into readable text.