-
Notifications
You must be signed in to change notification settings - Fork 0
Reduce cv::Mat copy #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Reduce cv::Mat copy #165
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ MultiCameraSource::MultiCameraSource( | |
| } | ||
| } | ||
| timestamped_frame_t timestamped_frame; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to construct a new timestamped frame every time? |
||
| timestamped_frame = cameras_[i]->GetFrame(); | ||
| cameras_[i]->GetFrame(×tamped_frame); | ||
| mutex_.lock(); | ||
| timestamped_frames_[i] = timestamped_frame; | ||
| frames_used_ = false; | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that we have removed the old way of running localization, can we update the unambigous main to support only multi-tag or only square solve? This should probably be a seperate pr though. Also, can you clean up some of the code in multi tag solver? |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a reference instead of a pointer?