GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - quq99/hair-dye-android: Neural Network for Dying Hair💈- Android Application

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
images
images
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
HairDye.iml
HairDye.iml
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
local.properties
local.properties
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Hair Dye Android

hairicon

This android app is based on the Fritz tutorial. I changed the model to our own model. Currently, the hair can be colored to BLUE.

For model training part, refer to our repo.

Here is a post about this APP.

The network model was proposed by Alex L. Cheng C, etc. 'Real-time deep hair matting on mobile devices'

ML model

I first convert our Pytorch model to tensorflow GraphDef model(end with .pb) by using ONNX and ONNX-TF. Then generate the Tensorflow Lite FlatBuffer file(.tflite) from a Tensorflow model(.pb). The model is placed in /app/src/main/assets/converted_model_hairnet.tflite.

Requirements

  • Android Studio 3.2 or above
  • Android device in developer model (USB debugging enabled)

Getting Started

Step 1: Clone / Fork this repository and open the HairColoringApp in Android Studio

git clone https://github.com/quq99/hair-dye-android.git

In Android Studio, choose "Open an existing Android Studio project" and select hair-dye-android.

Step 2: Build the Android Studio Project

First, "File->Sync Project with Gradle Files" to sync the gradle dependencies. Then, select "Build > Make Project" from the top nav. Download any missing libraries if applicable.

Step 3: Install the app onto your device

With your Android device connected, select Run > Run App from the top nav. When running the app for the first time, you'll have to give permissions to access the camera. After the app is installed and running, point your camera at someone's hair to automatically color it.

Thanks

  • Thanks for Fritz Framework.

About

Neural Network for Dying Hair💈- Android Application

Topics

androidandroid-applicationfritzhair-colorhair-segmentationtensorflow-lite

Resources

Readme
Activity

Stars

14 stars

Watchers

3 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.