Giter Club home page Giter Club logo

chroma's Introduction

Chroma_V2.0.1

实现功能

  • 内置背景与相册背景选择功能
  • 绿幕抠图预览模式和实景预览模式
    • 使用camera2+surfaceView预览绿幕模式,textureView预览实景模式
  • 反转相机功能
  • 拍照功能
  • 摄像录制功能

UI界面

  • UI界面为UI2版本
  • 增加了美颜和滤镜按钮
  • 增加直播按钮

优化记录

  • chroma 预览和实景预览都使用camera2 + surfaceView实现预览,其中实景预览也使用了OpenGL渲染
  • chroma 预览和实景预览不再分别new一个fragment,而是选择放入到同一个fragment中。两个surface+两个cameraHelper对象分别完成chroma模式和实景模式下的渲染。
  • 优化了多开预览内存上涨现象,但是还是多开还是存在少量上涨

未来规划

  • 增加滤镜功能
  • 增加美颜功能
  • 增加直播推流功能

chroma's People

Contributors

tanlang180 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.