Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Conversation

@arpanroy18
Copy link

Fixed annotation bug so that opencv can display images in a GUI for detect_target.

Copy link
Member

@maxlou05 maxlou05 left a comment

Choose a reason for hiding this comment

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

Reviewed

Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

Comment on lines 32 to 33
Returns:
Success, detect target object.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Return: Success, detect target object.

show_annotations,
save_name,
)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Restore empty line.

Comment on lines +49 to +51
if self.__device != "cpu" and not torch.cuda.is_available():
self.__local_logger.warning("CUDA not available. Falling back to CPU.")
self.__device = "cpu"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add empty line above this line.

arpanroy18 and others added 4 commits January 9, 2025 21:13
* Implement brightspot detection

* Fix detections

* Add to factory method

* Add multiple testing images

* Separate tests into detections and no detections

* Fix minor issues

* Fix comments

* Fix image naming

* Add check for no detections

* Fix constant ordering
* integrated camera_factory in video_input

* added missing parameters

* removed cluster estimation test file

* accommodate video input for new camera factory and logger changes in common

* refactor for moving camera config classes into each camera module

* add comments and change empty to string to a valid iamge prefix

* Fix comments

* refactor video_input save_prefix to image_name, for proper use with logger.save_image

* bug fix for video_input integration tests

---------

Co-authored-by: Maxwell Lou <maxlou2005@gmail.com>
@arpanroy18 arpanroy18 closed this Jan 23, 2025
@arpanroy18 arpanroy18 deleted the detect-target-annoation-fix branch January 23, 2025 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants