Giter Site home page Giter Site logo

xuchaoxiong / beautycamera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from perpetualsmile/beautycamera

0.0 1.0 0.0 177 KB

美颜相机,具有人脸检测、磨皮美白人脸、滤镜、调节图片、摄像功能

License: MIT License

Python 100.00%

beautycamera's Introduction

BeautyCamera(PyQt5+python-opencv+matplotlib)

打开图片

  • 美颜相机demo既可以处理已有的图片,也可以用本程序打开电脑的摄像头进行拍摄,相关选项在文件菜单下有,也可以使用快捷键crtl+o打开图片。

拍摄照片

  • 在文件菜单下有打开摄像头选项,点击可以跳出摄像窗口,再点击弹窗中的打开摄像头按钮可以开启摄像头,选好景之后点击拍摄按钮可以将图片显示在主窗口进行各种处理。

处理照片

  • 处理照片主要在左侧的窗口中,一共三个页面可以切换,分别是滤镜、调节、美白磨皮,效果可以叠加,但是由于优化不好的原因,效果太多时程序会变得卡顿,建议不要对一张图片加太多效果,具体的功能的实现见另外一份文档。

人脸识别功能

  • 在操作菜单下有人脸识别选项,点击之后会标记出图中的人脸,若想消除人脸标记效果可以点击还原选项。

灰度直方图功能

  • 本程序实现了图像灰度直方图实时显示的功能,用户在处理图片的时候可以看到直方图的变化,这样便于调节图片到合适的效果。

还原照片

  • 在操作菜单下有还原图片选项,恢复图片到打开初始状态。

保存照片

  • 可以在文件菜单下找到保存图片的选项,也可以使用快捷键ctrl + s保存。

beautycamera's People

Contributors

perpetualsmile avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.