⚙️ InkSlate Developer Guide


InkSlate is a Python script that uses the Google Gemini API to analyse handwriting images and generate a personality profile that’s based on graphology-inspired heuristics.

Disclaimer: Graphology is not scientifically validated. InkSlate is for entertainment only.


Features

 

Requirements

Setup

  1. Get a Gemini API key from https://aistudio.google.com/app/apikey.
  2. Clone the repository:
     git clone https://github.com/AninditaBasu/inkslate.git
     cd inkslate
    
  3. Edit the script (inkslate.py) to specify the key: GEMINI_API_KEY = "<your_Google_AI_API_key_goes_here>"

Functions

Some of these functions aren’t called; they’re there for extended use cases.

Essential functions

Optional functions

Output

Each InkSlate run generates a file called <image_name>_personality_analysis_YYYYMMDD_HHMMSS.json. This is what the contents of the file can look like:

{
  "emotional_stability": "stable",
  "extraversion_introversion": "balanced",
  "confidence_level": "high",
  "attention_to_detail": "high",
  "openness_to_experience": "moderate",
  "conscientiousness": "very_high",
  "agreeableness": "moderate",
  "emotional_expressiveness": "moderate",
  "stress_level": "low",
  "communication_style": "assertive",
  "thinking_style": "analytical",
  "energy_level": "high",
  "social_orientation": "balanced",
  "decisiveness": "decisive",
  "optimism_pessimism": "realistic",
  "self_discipline": "very_high",
  "creativity": "moderate",
  "adaptability": "moderate",
  "leadership_qualities": "strong",
  "honesty_authenticity": "high",
  "key_observations": "...",
  "personality_summary": "...",
  "strengths": ["..."],
  "potential_challenges": ["..."],
  "recommended_careers": ["..."],
  "interpersonal_style": "...",
  "work_style": "...",
  "stress_indicators": "...",
  "confidence_assessment": "high",
  "timestamp": "2025-01-01T13:45:00",
  "image_path": "IMG_2375.JPEG",
  "analysis_type": "graphology"
}

Limitations

Enhancements


License

MIT