Skip to content

modify Images to support Frames as a subclass - #518

Merged
drewaogle merged 10 commits into
developfrom
add_frame_to_images
Nov 6, 2024
Merged

drewaogle merged 10 commits into
developfrom
add_frame_to_images

Conversation

@drewaogle

Copy link
Copy Markdown
Contributor

Modifies Images to support Frames, based on usage pattern from https://github.com/drewaogle/YOLOv4-OpenCV-CUDA-DNN/blob/main/VideoClips.ipynb which aimed to use Images, but on frame objects.

@drewaogle drewaogle self-assigned this Nov 3, 2024
Comment thread aperturedb/Images.py Resolved
Comment thread aperturedb/Images.py Resolved

@gsaluja9 gsaluja9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable named strikes odd and we can totally do away with creating a property .
The extension is fine in principle, but do consider asserting on frame specific params in image.

@drewaogle

Copy link
Copy Markdown
Contributor Author

changed to use QueryBuilder also made it so classes could use their ObjectType as the db_class rather than just a string

@gsaluja9 gsaluja9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

@drewaogle
drewaogle merged commit fa4183c into develop Nov 6, 2024
@drewaogle
drewaogle deleted the add_frame_to_images branch November 6, 2024 18:26
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.

2 participants