|
Download README.md from Trishti/InsightUX: direct link, hf CLI and curl.
- Browser
- Download file 2.64 kB
-
https://huggingface.co/Trishti/InsightUX/resolve/main/README.md
- Command line
-
hf download hf://Trishti/InsightUX/README.md
-
curl -L -o README.md https://huggingface.co/Trishti/InsightUX/resolve/main/README.md
2.64 kB
| # ποΈ InsightUX Browser | |
| > AI-powered eye-tracking research browser for usability analysis and user experience evaluation. | |
| InsightUX Browser is a desktop research browser built using **PyWebView**, **MediaPipe**, and an **ONNX-based gaze estimation model**. It enables researchers to record users' gaze behavior while browsing real websites and automatically generates detailed visual analytics including attention heatmaps, dwell timelines, and ranked Areas of Interest (AOIs). | |
| --- | |
| ## β¨ Features | |
| - ποΈ Real-time gaze estimation using a CNN (ONNX Runtime) | |
| - π Integrated research browser built with PyWebView | |
| - π― Automatic AOI (Area of Interest) detection | |
| - π Attention ranking and dwell-time analytics | |
| - π₯ Screenshot-based heatmap generation | |
| - π Timeline visualization of user attention | |
| - πΎ Session logging for gaze and DOM interactions | |
| - π· Automatic screenshot capture during browsing | |
| - π§ Head pose compensation and illumination normalization | |
| - β‘ Lightweight desktop application | |
| --- | |
| ## Project Structure | |
| ```text | |
| InsightUX/ | |
| β | |
| βββ browser_session.py # Main browser application | |
| βββ calibrate.py # User calibration | |
| βββ validate.py # Calibration validation | |
| βββ analysis.py # Analytics & report generation | |
| βββ inference_pipeline.py # ONNX inference pipeline | |
| βββ session_logger.py # Session logging | |
| β | |
| βββ models/ | |
| β βββ gaze_cnn_v4.onnx | |
| β | |
| βββ preprocessing/ | |
| β βββ preprocessing_pipeline.py | |
| β | |
| βββ sessions/ | |
| β | |
| βββ requirements.txt | |
| ``` | |
| --- | |
| ## Requirements | |
| - Python 3.11 | |
| - Webcam | |
| - Windows 10 / Windows 11 | |
| --- | |
| ## Installation | |
| Create a virtual environment | |
| ```bash | |
| python -m venv venv | |
| ``` | |
| Activate it | |
| ```bash | |
| .\venv\Scripts\Activate.ps1 | |
| ``` | |
| Install dependencies | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| --- | |
| ## Usage | |
| ### 1. Calibrate | |
| ```bash | |
| python calibrate.py | |
| ``` | |
| This generates: | |
| - calibration.pkl | |
| --- | |
| ### 2. Validate (Optional) | |
| ```bash | |
| python validate.py | |
| ``` | |
| --- | |
| ### 3. Launch Browser | |
| ```bash | |
| python browser_session.py | |
| ``` | |
| Workflow | |
| 1. Open any website | |
| 2. Click on the webpage | |
| 3. Press **S** to start tracking | |
| 4. Browse normally | |
| 5. Press **E** to stop tracking | |
| 6. Analytics report opens automatically | |
| --- | |
| ## Generated Outputs | |
| Each session generates | |
| - Raw gaze logs | |
| - DOM interaction logs | |
| - Website screenshots | |
| - Attention heatmaps | |
| - Ranked AOIs | |
| - Dwell timelines | |
| - HTML analytics report | |
| --- | |
| ## Technology Stack | |
| - Python | |
| - PyWebView | |
| - MediaPipe | |
| - OpenCV | |
| - NumPy | |
| - ONNX Runtime | |
| - JavaScript | |
| - HTML/CSS | |
| --- | |