Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-GT committed Feb 10, 2023
1 parent 38f247a commit 058dcde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void marker_tracking::LabelingCvSeq::LabelSquares(std::shared_ptr<cv::Mat> image
}

// Fit edge and put to vector of edges
cv::Vec4f params; // init with zeros? ANA HACK
cv::Vec4f params; // CAREFUL REVIEW: init with zeros?
cv::fitLine(line_data, params, cv::DIST_L2, 0, 0.01, 0.01);
fitted_lines[j] = alvar::Line(params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int main(int argc, char* argv[]) {
// Decode ID of each marker tag into its hexadecimal code.
std::deque<bool> bs;
marker.SetContent(alvar::MarkerData::MarkerContentType::MARKER_CONTENT_TYPE_NUMBER, marker_tag.id, 0);
// ANA HACK: More efficient is to use pointers rather than iterators
// CAREFUL REVIEW: More efficient is to use pointers rather than iterators
uchar* ip;
for (int i = 0; i < marker.GetContent().rows; ++i) {
ip = marker.GetContent().ptr<uchar>(i);
Expand Down

0 comments on commit 058dcde

Please sign in to comment.