GithubHelp home page GithubHelp logo

handvein_temporary's Introduction

Hand Vein Classification (Gender-Age)

  • This project aims to build a model that classifies the subjects into female-male and old-young from the images of the subjects' dorsal hand veins.

Pipeline

  • The project can be summarized into 3 main steps:
    • Dataset: Hand vein images of 200 subjects (104 male & 96 female// 61 old & 149 young)
    • Preprocessing: Some processing (filters, extracting ROI) and augmentation techniques
    • are applied on the images to enhance their quality.
    • Deeplearning: A fine-tuned model that is used to classify the images that is based on VGG-16.

Dataset

Note: The number of the dataset and the reserved items for prediction can be identified using the Age_Gender.xlsx & ages-Gender-Data_modified.txt files.

Preprocessing

  • Firstly, The left-hand images were flipped using the Flipping_Left file.
  • Secondly, for the enhancement track we input the flipped images to the enhancement/filters code(median, bilateral, CLAHE) that can be found in the Enhance_2020 file.
  • Thirdly, we augment (Rotate, Translate, and Scale) the enhanced images using the augmentation code that can be found in the Augmentation_2020 file.
  • Lastly, we take the region of interest "ROI" to the augmented enhanced images using the ROI_2020 file.
  • In case of working with lbp images, then you'll have to use the lbp file, after the second step.

Deeplearning

  • Two subdirectories can be found: Age and Gender
  • Both contain subdirectories for their "codes" and "results"
  • You first need to train the model on the images you're using (either raw images, enhanced or lbp ones) using the train file.
  • Then, you'll need to save the model at the desired epoch
  • (depending on the accuracy and loss graphs obtained from training)
  • And lastly, you can use this ".h5" saved model for prediction. During the prediction, a ".csv" file is made that comprises the image name, the prediction to it and its true label, a confusion matrix can be found at the end of this ".csv" file to better assess the prediction.

Note: you will find a file named as "Reorganize_Data" this is for moving the images from a source directory to any destination directory, also a "rename trial" file that was used to rename the prediction images as to include their original label in the name. These 2 files are used when you need them but not MANDATORY ones for learning.

handvein_temporary's People

Contributors

hosnaa avatar

Watchers

James Cloos avatar  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.