Giter Site home page Giter Site logo

2369954989 / hivisionidphotos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeyi-lin/hivisionidphotos

0.0 0.0 0.0 5.16 MB

😎Hivision IDphoto production algorithm, a lightweight, efficient intelligent matting, face detection, size cutting comprehensive program. It uses a set of perfect model workflow, to achieve a variety of user photo scene identification.

Home Page: https://swanhub.co/ZeYiLin/HivisionIDPhotos/demo

Python 100.00%

hivisionidphotos's Introduction

HivisionIDPhoto

English / 中文

GitHub SwanHub Demo zhihu

🤩Project Update

  • Online Demo: SwanHub Demo
  • 2023.6.20: Updated Forecast Size Selection
  • 2023.6.19: Updated Layout photo
  • 2023.6.13: Updated center gradient color
  • 2023.6.11: Updated top and bottom gradient color
  • 2023.6.8: Updated custom size
  • 2023.6.4: Updated custom background color and face detection bug notification
  • 2023.5.10: Updated change background without changing size

Overview

🚀Thank you for your interest in our work. You may also want to check out our other achievements in the field of image processing. Please feel free to contact us at [email protected].

HivisionIDPhoto aims to develop a practical intelligent algorithm for producing ID photos. It uses a complete set of model workflows to recognize various user photo scenarios, perform image segmentation, and generate ID photos.

HivisionIDPhoto can:

  1. Perform lightweight image segmentation
  2. Generate standard ID photos and six-inch layout photos according to different size specifications
  3. Provide beauty features (waiting)
  4. Provide intelligent formal wear replacement (waiting)

If HivisionIDPhoto is helpful to you, please star this repo or recommend it to your friends to solve the problem of emergency ID photo production!

🔧Environment Dependencies and Installation

  • Python >= 3.7 (Recommend to use Anaconda or Miniconda)
  • onnxruntime
  • OpenCV
  • Option: Linux, Windows, MacOS

Installation

  1. Clone repo
git lfs install && git clone https://swanhub.co/ZeYiLin/HivisionIDPhotos.git
cd  HivisionIDPhotos
  1. Install dependent packages
pip install numpy
pip install opencv-python
pip install onnxruntime
pip install gradio

⚡️Quick Inference

1. Download Pre-trained Models

SwanHub:

The model and code are downloaded through git-lfs.

git lfs install
git clone https://swanhub.co/ZeYiLin/HivisionIDPhotos.git

GitHub:

git clone https://github.com/xiaolin199912/HivisionIDPhotos.git
Model Parameters Dir Download Link
hivision_modnet.onnx 25 M ./ Download

2. Inference!

Run a Gradio Demo:

python app.py

Running the program will generate a local web page where you can complete ID photo operations and interactions.

Reference Projects

  1. MTCNN: https://github.com/ipazc/mtcnn
  2. MTCNN-ONNX:https://swanhub.co/ZeYiLin/MTCNN-ONNX
  3. ModNet: https://github.com/ZHKKKe/MODNet

📧Contact

If you have any questions, please email [email protected]

Copyright © 2023, ZeYiLin. All Rights Reserved.

hivisionidphotos's People

Contributors

zeyi-lin 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.