Skip to content

Modernize codebase for latest dlib, numpy, and OpenCV compatibility#99

Open
ahitagnied wants to merge 4 commits into
antoinelame:masterfrom
ahitagnied:master
Open

Modernize codebase for latest dlib, numpy, and OpenCV compatibility#99
ahitagnied wants to merge 4 commits into
antoinelame:masterfrom
ahitagnied:master

Conversation

@ahitagnied

Copy link
Copy Markdown

Summary

  • Added Python type hints to all main classes and methods for clarity and modern best practices.
  • Removed unnecessary from __future__ import division imports (Python 3+).
  • Added error handling for missing dlib model file in gaze_tracking.py.
  • Unpinned dependency versions in requirements.txt to allow latest compatible versions.
  • No changes to core logic or algorithms.

Motivation

These changes ensure compatibility with the latest versions of dlib, numpy, and OpenCV, and improve code readability and maintainability.

Testing

  • All code runs with latest dependencies
  • Demo runs successfully with python example.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant