Merge pull request #18792 from tweicc:examples_android
PiperOrigin-RevId: 217189744
This commit is contained in:
commit
6d84f1ff52
@ -311,7 +311,7 @@ int KeypointDetector::AddExtraCandidatesForBoxes(
|
|||||||
return num_keypoints_added;
|
return num_keypoints_added;
|
||||||
}
|
}
|
||||||
|
|
||||||
Keypoint curr_keypoint = keypoints[num_keypoints_added++];
|
Keypoint& curr_keypoint = keypoints[num_keypoints_added++];
|
||||||
curr_keypoint.pos_ = Point2f(
|
curr_keypoint.pos_ = Point2f(
|
||||||
box.left_ + box.GetWidth() * (i + 0.5f) / kNumToAddAsCandidates,
|
box.left_ + box.GetWidth() * (i + 0.5f) / kNumToAddAsCandidates,
|
||||||
box.top_ + box.GetHeight() * (j + 0.5f) / kNumToAddAsCandidates);
|
box.top_ + box.GetHeight() * (j + 0.5f) / kNumToAddAsCandidates);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user