Coder Social home page Coder Social logo

linecutfeng / playpicdio Goto Github PK

View Code? Open in Web Editor NEW
516.0 12.0 47.0 105.06 MB

安卓平台下,图片或视频转化为ascii,图片转化成低多边形风格图形,emoji表情填充图片,合并视频用到ffmpeg库。已实现带色彩的ascii码图片或视频.On the Android platform, the picture or video is converted to ascii, the picture is converted into a low-poly style graphic, the emoji expression is filled with the picture, and the merged video is used in the ffmpeg library. Adding color ascii code pictures or videos later. Androidプラットフォームでは、画像またはビデオはASCIIに変換され、画像は低ポリスタイルのグラフィックに変換され、絵文字表現は画像で埋められ、マージされたビデオはffmpegライブラリで使用されます。 カラーASCIIコードの写真やビデオを後で追加する

Java 96.98% Makefile 0.02% C 1.73% CMake 0.16% C++ 0.54% Kotlin 0.53% AIDL 0.04%
android ascii video ffmpeg lowpoly montage emoji-mosaic

playpicdio's Introduction

PlayPicdio

简书:
https://www.jianshu.com/p/a14f1ac558e1
csdn:
https://blog.csdn.net/u010308894/article/details/82689023

简介

android平台下 视频转ascii码视频、图片转ascii码图片、图片转低多边形风格图片、图片emoji-masaic化 (未来功能,图片转彩色ascii码图片、图片添加新海诚风格滤镜、图片人工智能风格迁移世界名画、人脸替换融合)

GitHub LICENSE Badge

技术概要

  • 像素彩色转灰度
  • 二元一次方程求像素最佳解
  • ndk sobel特征提取
  • delaunay三角形匹配
  • 泊松分布随机采样,4叉数优化
  • ffmpeg图片合成视频
  • 柏林噪声生成背景
  • LRUcache图片缓存池匹配
  • 快速傅里叶变换、快速傅里叶逆变换
  • L0Smooth范式平滑
  • 边缘抖动
  • 颜料分散
  • 纸张纹理

功能

ascii

  • 图片转ascii码图片(彩色or黑白)
  • 视频转ascii码视频或gif(彩色or黑白)

低多边形化

  • 图片转低多边形

emoji-mosaic

  • emoji表情替换图片像素

单一滤镜

  • 底片效果
  • 熔铸效果
  • 冰冻效果
  • 连环画效果
  • 褐色效果(怀旧效果)
  • 瓷砖滤镜
  • 同心圆效果(待优化)
  • 幻影坦克(module未集成到主app)

因为完整效果图片尺寸过大,所以实例图片经过了高度压缩,完整效果参见博客

ascii码效果图

       

低多边形效果图

               

emoji-masic效果图

           

光盘效果图

   

ascii码视频

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.