Skip to content

Update detect_from_video.py#37

Open
mst-rajatmishra wants to merge 1 commit into
HongguLiu:masterfrom
mst-rajatmishra:master
Open

Update detect_from_video.py#37
mst-rajatmishra wants to merge 1 commit into
HongguLiu:masterfrom
mst-rajatmishra:master

Conversation

@mst-rajatmishra

Copy link
Copy Markdown

Hi,
I tried making some changes,

  • Improved modularity by separating the logic into dedicated functions.
  • Added checks for the validity of input paths.
  • Enhanced comments and formatting for better understanding.
  • The model loading logic is now in its own function for clarity.
  • Added required=True for critical arguments to ensure necessary inputs are provided.

Thank You
RAJAT MISHRA

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