Home
last modified time | relevance | path

Searched refs:Keypoint (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dkeypoint_detector.h29 struct Keypoint;
62 Keypoint* const keypoints) const;
69 const int max_num_keypoints, Keypoint* const keypoints);
73 Keypoint* const keypoints);
79 Keypoint* const candidate_keypoints);
82 Keypoint* const candidate_keypoints) const;
89 const Keypoint* const candidate_keypoints,
93 const Keypoint* const existing_keypoints,
94 Keypoint* const final_keypoints) const;
101 const Keypoint* const candidate_keypoints,
[all …]
Dkeypoint_detector.cc37 Keypoint* const candidate_keypoints) { in ScoreKeypoints()
49 Keypoint* const keypoint = candidate_keypoints + i; in ScoreKeypoints()
62 Keypoint* const keypoint = candidate_keypoints + i; in ScoreKeypoints()
71 return (reinterpret_cast<const Keypoint*>(a)->score_ - in KeypointCompare()
72 reinterpret_cast<const Keypoint*>(b)->score_) <= 0 ? 1 : -1; in KeypointCompare()
78 Keypoint* const candidate_keypoints) const { in SortKeypoints()
79 qsort(candidate_keypoints, num_candidates, sizeof(Keypoint), KeypointCompare); in SortKeypoints()
100 const Keypoint* const candidate_keypoints, in SelectKeypointsInBox()
104 const Keypoint* const existing_keypoints, in SelectKeypointsInBox()
105 Keypoint* const final_keypoints) const { in SelectKeypointsInBox()
[all …]
Dkeypoint.h31 struct Keypoint { struct
32 Keypoint() : pos_(0.0f, 0.0f), score_(0.0f), type_(0) {} in Keypoint() function
33 Keypoint(const float x, const float y) in Keypoint() argument
41 inline std::ostream& operator<<(std::ostream& stream, const Keypoint keypoint) { argument
Dframe_pair.h83 Keypoint frame1_keypoints_[kMaxKeypoints];
86 Keypoint frame2_keypoints_[kMaxKeypoints];
Dframe_pair.cc159 const Keypoint keypoint1 = frame1_keypoints_[i]; in FillScales()
160 const Keypoint keypoint2 = frame2_keypoints_[i]; in FillScales()
Dobject_tracker.cc83 Keypoint* const keypoint1 = frame_pair->frame1_keypoints_ + i_feat; in FindCorrespondences()
84 Keypoint* const keypoint2 = frame_pair->frame2_keypoints_ + i_feat; in FindCorrespondences()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java115 public static class Keypoint { class in ObjectTracker
121 public Keypoint(final float x, final float y) { in Keypoint() method in ObjectTracker.Keypoint
128 public Keypoint(final float x, final float y, final float score, final int type) { in Keypoint() method in ObjectTracker.Keypoint
135 Keypoint delta(final Keypoint other) { in delta()
136 return new Keypoint(this.x - other.x, this.y - other.y); in delta()
146 public final Keypoint keypointA;
147 public final Keypoint keypointB;
148 Keypoint pointDelta;
157 keypointA = new Keypoint(x1, y1, score, type); in PointChange()
158 keypointB = new Keypoint(x2, y2); in PointChange()
[all …]
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DObjectTracker.java115 public static class Keypoint { class in ObjectTracker
121 public Keypoint(final float x, final float y) { in Keypoint() method in ObjectTracker.Keypoint
128 public Keypoint(final float x, final float y, final float score, final int type) { in Keypoint() method in ObjectTracker.Keypoint
135 Keypoint delta(final Keypoint other) { in delta()
136 return new Keypoint(this.x - other.x, this.y - other.y); in delta()
146 public final Keypoint keypointA;
147 public final Keypoint keypointB;
148 Keypoint pointDelta;
157 keypointA = new Keypoint(x1, y1, score, type); in PointChange()
158 keypointB = new Keypoint(x2, y2); in PointChange()
[all …]