Giter Club home page Giter Club logo

rubberstamp's Introduction

Image-ColorSplit

一个为橡皮章爱好者设计的小工具:

上传您刻章所需图片,选取分色数量,自动呈现分色结果,包括色板、整体预览及图层,同时可以根据您的需求改变图层色彩,合并生成新的图像。

安装

请确保您安装Python最新版本及Python Package Index (PyPI):

项目架构

ColorSplitApp
├─ App
│	├─ app.py -- 程序启动入口
│	├─ main.py	-- 后端分色程序
│	├─ static -- 存放静态文件
│	│	├─ assets
│	│	├─ css
│	│	├─ js
│	│	├─ split -- 分色结果存储文件夹
│	│	└─ upload -- 用户上传文件存储文件夹
│	└─ templates -- 存放模板文件
│	 	└─ index.html -- 模板文件
└─ requirements.txt

运行项目

# 1.克隆项目到本地
$ git clone https://github.com/SAGO68plus/rubberStamp.git
$ cd rubberStamp/ColorSplitApp

# 2.安装项目依赖包
$ python index.py
$ pip install -r requirements.txt

# 3. 运行项目
$ python app.py

访问http://127.0.0.1:8000即可查看网站

使用说明

  1. 打开页面 index preview

  2. 上传图片、选择分色数量 upload

  3. 查看分色结果,包括色板、图像整体预览、各图层 rgb and overview

layers

  1. 改变图层颜色,生成新图像 replace color reset image

rubberstamp's People

Contributors

ddd-kx avatar sago68plus avatar

Watchers

 avatar

Forkers

ddd-kx

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.