Skip to content

GauraviSingh7/Graphology_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphology_flask

This is a Flask web application that predicts personality traits based on handwriting analysis. The app leverages machine learning models that are trained on handwriting images and feature extraction across five Jupyter notebooks. Additionally, it includes a specialized model to determine whether a person is introverted or extroverted based on their Hindi handwriting.

Features

  • Handwriting Analysis: The app processes handwriting samples and extracts features that reveal various personality traits.
  • Personality Trait Prediction: Uses models trained in multiple Jupyter notebooks to predict characteristics such as emotional stability, openness, and conscientiousness.
  • Hindi Handwriting Analysis: An additional feature that focuses on Hindi handwriting, predicting whether a person is introverted or extroverted.
  • Airwriting Recognition: Incorporates an airwriting feature (Notebook_4) to analyze handwriting traced in the air.
  • Machine Learning Models: Models are built using Support Vector Machines (SVMs) and trained across multiple notebooks for different aspects of personality analysis.

Usage

  1. Open the app in your browser at http://localhost:5000.
  2. Upload a handwriting image in the supported formats (PNG, JPG) or use the Air writing feature for English.
  3. The app will extract features and predict personality traits.

Notebooks

  • Notebook_1.ipynb: Handles the feature extraction from handwriting images. Extracts features like baseline angle, slant, letter size, and word spacing.
  • Notebook_2.ipynb: Processes and normalizes the extracted features to ensure consistency.
  • Notebook_3.ipynb: Trains SVM classifiers on the normalized features to predict personality traits.
  • Notebook_4.ipynb: Evaluates the model performance and includes airwriting feature analysis.
  • Notebook_5.ipynb: Integrates all aspects into a single model pipeline for the Flask app.
  • hindi_graphology.ipynb: Specialized notebook for analyzing Hindi handwriting and determining introversion or extroversion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published