Skip to content

MR-MaoJiu/beauty_cam

Repository files navigation

beauty_cam

flutter beauty camera

# Current function:

  • Switch Beauty
  • take pictures
  • Make a video
  • Switch lenses
  • Set the save path
  • Add filter

Usage

  • need to apply in advance and open the required permissions camera and storage.
  • Allow users to customize filters (non-programmers can also customize filters, and filters can be updated online)
  • Filter editing can be found in the document Filter Editing Rules

This project is based on the open source Git Hub project

The edited filter

filter

Open beauty:
cameraFlutterPluginDemo? .enableBeauty(true);
Set the beauty level (0 ~ 1):
cameraFlutterPluginDemo? .setBeautyLevel(1);
Take photos:
cameraFlutterPluginDemo? .takePicture();
Start shooting video:
cameraFlutterPluginDemo? .takeVideo();
End shooting video:
cameraFlutterPluginDemo? .stopVideo();
Switch shots:
cameraFlutterPluginDemo? .switchCamera();
Set LoadImageResource(Stored in the Caches directory by default):
cameraFlutterPluginDemo?.setLoadImageResource();
Set OuPutFilePath:
cameraFlutterPluginDemo?.setOuPutFilePath();
Add filter: 
cameraFlutterPluginDemo?. addFilter("@adjust saturation 0 @adjust level 0 0.83921 0.8772");

beauty1.jpg beauty2.jpg beauty.mp4

  • If you find it useful, please give me a star or a tip, your motivation will make me more motivated!!
  • img.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published