MagicCamera
Real-time Filter Camera&VideoRecorder And ImageEditor With Face Beauty For Android---包含美颜等40余种实时滤镜相机,可拍照、录像、图片修改
MagicCamera is an Android camera app that applies more than 40 real-time visual filters to the live camera preview, photos, and videos using the phone's GPU, with built-in face beauty effects.
MagicCamera is an Android camera app written in Java that applies real-time visual filters to what the camera sees, so you can watch the effect before you take the photo or record the video. The idea and technical approach came from an existing open-source project called android-gpuimage, which uses the phone's graphics chip to process images quickly enough to run filters live.
The app includes over 40 different filter styles. These apply to the camera preview as you shoot, to videos as you record them, and to photos in a separate image editing mode. The image editor also includes a face beauty function with two options: smoothing skin texture and brightening skin tone. These were common features in Chinese camera apps of the era and are explicitly listed in the project description.
The project supports both photo capture and video recording with filters running in real time. The author notes in the changelog that the Android Studio version of the project covers camera mode, while the Eclipse version of the project also includes the full image editor. Both versions of the source code are in the repository.
The README is sparse and was last updated in 2016, when the project was still described as a work in progress. It does not include installation instructions or details about how to build the project. The description is written in both English and Chinese, and the project appears to be aimed primarily at Android developers in China who want a ready-made reference for building a camera app with filter support.
Where it fits
- Build an Android camera app with GPU-accelerated real-time photo filters applied to the live preview.
- Add skin-smoothing and skin-brightening face beauty effects to an Android camera or photo editing app.
- Record videos with live filters applied using this project as a reference implementation.
- Learn how to use the GPU to process camera frames in real time on Android.