Skip to content

pub1

Choose a tag to compare

@MarkSant MarkSant released this 16 Jul 01:27
· 10 commits to main since this release

What's Changed

  • Modularized app by @MarkSant in #1
  • Fix shutdown error by @MarkSant in #3
  • Refactor: Improve code quality and implement review suggestions

This commit implements several improvements based on a code review to
enhance code quality, robustness, and adherence to best practices.

The changes include:

  1. Imports: In detector.py, imports for torch, glob, and os
    are moved to the top of the file.
  2. Caching: The model caching logic in project_manager.py is made
    more defensive against potential race conditions by using
    shutil.rmtree(ignore_errors=True) and a try-except block for
    the move operation.
  3. API Update: The OpenVINO inference call in detector.py is
    updated from the deprecated infer_new_request to the recommended
    infer method. by @MarkSant in #6

New Contributors

Full Changelog: https://github.com/MarkSant/PyZebArdYolo/commits/1.0.0