Feature/7975 update library to be compatible with new camera modules#164
Open
randy-seng wants to merge 45 commits intomasterfrom
Open
Feature/7975 update library to be compatible with new camera modules#164randy-seng wants to merge 45 commits intomasterfrom
randy-seng wants to merge 45 commits intomasterfrom
Conversation
Upgraded multiple library versions to ensure compatibility and access to the latest features and fixes. This includes updates for `art`, `psutil`, `gpiozero`, `picamerax`, `beautifulsoup4`, `PyYAML`, and `requests`.
A newline was added to improve code readability and adhere to style guidelines in the LED module. No functional changes were made. Additionally, the bootstrap CSS file remained unchanged.
setup.py has been replaced with pyproject.toml
Refactored the codebase to add or enhance type annotations for functions and methods, improving type safety and readability. Addressed minor inconsistencies such as variable naming, misspellings, and formatting, ensuring better adherence to coding standards.
Reduced the minimum Python version requirement to >=3.9 since OTCamera runs on Raspberry Pi Zero W.
Replaced Python 3.10+ pipe syntax for Union with explicit Union since we are working with python3.9. Added `opencv-python` to `requirements-dev.txt` and pre-commit additional dependencies. Updated pre-commit mypy entry to target `OTCamera` instead of `OTAnalytics`.
…contained in file name
Updated type hints for `parse_args` and `main` to `None` for clarity and consistency. Adjusted
…nting newly introduced Camera interface
…actor `CameraController` to use the `Camera` interface.
…just `.flake8` settings for conventions and exclusions
briemla
previously approved these changes
Jul 14, 2025
Contributor
|
@randy-seng I checked the code. It looks like the rest of our code. Nice work. |
briemla
previously approved these changes
Aug 5, 2025
…le-with-new-camera-modules # Conflicts: # OTCamera/hardware/camera_controller.py
…amera closure errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OP#7975
OP#8355