Giter Site home page Giter Site logo

magicjva / easycamera2-gpuimage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xuqiqiang/easycamera2-gpuimage

0.0 1.0 0.0 30.64 MB

EasyCamera2的图像处理库,可实现实时滤镜

License: Apache License 2.0

Java 6.65% Makefile 0.18% CMake 0.04% Shell 0.03% C++ 74.15% C 18.33% Objective-C 0.63%

easycamera2-gpuimage's Introduction

EasyCamera2-GPUImage

EasyCamera2的图像处理库,可实现实时滤镜

  • 与EasyCamera2其他功能独立
  • 支持相机预览滤镜处理
  • 支持拍照和录制视频的滤镜处理
  • 支持图片的滤镜处理
  • 内置几十种滤镜方案

Demo app: https://github.com/xuqiqiang/EasyCamera2App

Gradle dependency

allprojects {
        repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
	implementation 'com.github.xuqiqiang:EasyCamera2-GPUImage:1.0.2'
}

Usage

mProperties = new Properties()
        .useGPUImage(true) // 使用GPUImage,启用需要引入此library,可实现实时滤镜。默认不启用。
        .setGPUImageAssetsDir(this, "filter"); // 滤镜纹理资源的目录
BaseFilter filter = AllFilters.FILTERS[1];
filter.setIntensity(0.8f);
((SingleCameraModule) mCameraModule).setFilterConfig(filter.getConfig());

此项目基于wysaid的android-gpuimage-plus封装实现,感谢wysaid。

easycamera2-gpuimage's People

Contributors

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