Home
last modified time | relevance | path

Searched refs:bounding_box (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dgl_utils.h27 inline static void DrawBox(const BoundingBox& bounding_box) { in DrawBox() argument
29 bounding_box.left_, bounding_box.bottom_, in DrawBox()
30 bounding_box.left_, bounding_box.top_, in DrawBox()
31 bounding_box.left_, bounding_box.top_, in DrawBox()
32 bounding_box.right_, bounding_box.top_, in DrawBox()
33 bounding_box.right_, bounding_box.top_, in DrawBox()
34 bounding_box.right_, bounding_box.bottom_, in DrawBox()
35 bounding_box.right_, bounding_box.bottom_, in DrawBox()
36 bounding_box.left_, bounding_box.bottom_ in DrawBox()
Dintegral_image.h150 inline Code GetCode(const BoundingBox& bounding_box) const { in GetCode() argument
151 return GetCode(bounding_box.left_, bounding_box.top_, in GetCode()
152 bounding_box.right_, bounding_box.bottom_); in GetCode()
Dtracked_object.cc31 const BoundingBox& bounding_box, in TrackedObject() argument
34 last_known_position_(bounding_box), in TrackedObject()
35 last_detection_position_(bounding_box), in TrackedObject()
45 InitNormalized(image, bounding_box, &last_detection_thumbnail_); in TrackedObject()
Dobject_tracker.cc152 const BoundingBox& bounding_box, const ObjectModelBase* object_model) { in MaybeAddObject() argument
167 new TrackedObject(id, source_image, bounding_box, model); in MaybeAddObject()
175 const BoundingBox& bounding_box) { in RegisterNewObjectWithAppearance() argument
186 object_model->TrackStep(bounding_box, image, integral_image, true); in RegisterNewObjectWithAppearance()
193 MaybeAddObject(id, image, bounding_box, object_model); in RegisterNewObjectWithAppearance()
199 const BoundingBox& bounding_box, in SetPreviousPositionOfObject() argument
208 const BoundingBox current_position = TrackBox(bounding_box, timestamp); in SetPreviousPositionOfObject()
212 VLOG(2) << "Set tracked position for " << id << " to " << bounding_box in SetPreviousPositionOfObject()
218 const std::string& id, const BoundingBox& bounding_box) { in SetCurrentPositionOfObject() argument
219 SetPreviousPositionOfObject(id, bounding_box, curr_time_); in SetCurrentPositionOfObject()
Dobject_tracker.h80 const BoundingBox& bounding_box);
85 const BoundingBox& bounding_box,
90 const BoundingBox& bounding_box);
156 const BoundingBox& bounding_box,
Dgeom.h94 BoundingBox(const BoundingBox& bounding_box) in BoundingBox() argument
95 : left_(bounding_box.left_), in BoundingBox()
96 top_(bounding_box.top_), in BoundingBox()
97 right_(bounding_box.right_), in BoundingBox()
98 bottom_(bounding_box.bottom_) { in BoundingBox()
Dobject_detector.h85 const BoundingBox& bounding_box) in Detection() argument
88 bounding_box_(bounding_box) {} in Detection()
167 const BoundingBox& bounding_box, const bool locked,
Dobject_tracker_jni.cc183 BoundingBox bounding_box(x1, y1, x2, y2); in OBJECT_TRACKER_METHOD() local
185 id_str, reinterpret_cast<const uint8_t*>(pixels), bounding_box); in OBJECT_TRACKER_METHOD()
286 const BoundingBox bounding_box = in OBJECT_TRACKER_METHOD() local
291 bounding_box.CopyToArray(reinterpret_cast<float*>(rect)); in OBJECT_TRACKER_METHOD()
Dflow_cache.h121 Point2f GetMedianFlow(const BoundingBox& bounding_box, in GetMedianFlow() argument
129 const BoundingBox valid_box = bounding_box.Intersect( in GetMedianFlow()
Dkeypoint_detector.cc162 const BoundingBox bounding_box = *iter; in SelectKeypoints() local
168 if (bounding_box.Contains(curr_change->frame1_keypoints_[i].pos_)) { in SelectKeypoints()
178 bounding_box, in SelectKeypoints()
Dtracked_object.h35 const BoundingBox& bounding_box, ObjectModelBase* const model);
Dimage.h150 inline bool Contains(const BoundingBox& bounding_box) const;
Dimage-inl.h215 inline bool Image<T>::Contains(const BoundingBox& bounding_box) const { in Contains() argument
218 return GetContainingBox().Contains(bounding_box); in Contains()
/external/ImageMagick/MagickCore/
Dvision.c226 object[i].bounding_box.x=(ssize_t) image->columns; in ConnectedComponentsImage()
227 object[i].bounding_box.y=(ssize_t) image->rows; in ConnectedComponentsImage()
390 if (x < object[id].bounding_box.x) in ConnectedComponentsImage()
391 object[id].bounding_box.x=x; in ConnectedComponentsImage()
392 if (x >= (ssize_t) object[id].bounding_box.width) in ConnectedComponentsImage()
393 object[id].bounding_box.width=(size_t) x; in ConnectedComponentsImage()
394 if (y < object[id].bounding_box.y) in ConnectedComponentsImage()
395 object[id].bounding_box.y=y; in ConnectedComponentsImage()
396 if (y >= (ssize_t) object[id].bounding_box.height) in ConnectedComponentsImage()
397 object[id].bounding_box.height=(size_t) y; in ConnectedComponentsImage()
[all …]
Dtransform.c557 bounding_box, in CropImage() local
573 bounding_box=image->page; in CropImage()
574 if ((bounding_box.width == 0) || (bounding_box.height == 0)) in CropImage()
576 bounding_box.width=image->columns; in CropImage()
577 bounding_box.height=image->rows; in CropImage()
581 page.width=bounding_box.width; in CropImage()
583 page.height=bounding_box.height; in CropImage()
584 if (((bounding_box.x-page.x) >= (ssize_t) page.width) || in CropImage()
585 ((bounding_box.y-page.y) >= (ssize_t) page.height) || in CropImage()
586 ((page.x-bounding_box.x) > (ssize_t) image->columns) || in CropImage()
[all …]
Dvision.h31 bounding_box; member
Ddraw.h153 bounding_box; member
Dpaint.c432 gradient->bounding_box.width=image->columns; in GradientImage()
433 gradient->bounding_box.height=image->rows; in GradientImage()
436 (void) ParseAbsoluteGeometry(artifact,&gradient->bounding_box); in GradientImage()
/external/libcups/filter/
Dpstops.c61 int bounding_box[4]; /* PageBoundingBox */ member
71 int bounding_box[4]; /* BoundingBox from header */ member
180 int show_border, const int *bounding_box);
668 else if (sscanf(line + 14, "%d%d%d%d", doc->bounding_box + 0, in copy_comments()
669 doc->bounding_box + 1, doc->bounding_box + 2, in copy_comments()
670 doc->bounding_box + 3) != 4) in copy_comments()
674 doc->bounding_box[0] = (int)PageLeft; in copy_comments()
675 doc->bounding_box[1] = (int)PageBottom; in copy_comments()
676 doc->bounding_box[2] = (int)PageRight; in copy_comments()
677 doc->bounding_box[3] = (int)PageTop; in copy_comments()
[all …]
/external/ImageMagick/coders/
Dxps.c133 bounding_box, in ReadXPSImage() local
201 (void) memset(&bounding_box,0,sizeof(bounding_box)); in ReadXPSImage()
Dpcl.c179 bounding_box, in ReadPCLImage() local
247 (void) memset(&bounding_box,0,sizeof(bounding_box)); in ReadPCLImage()
/external/eigen/unsupported/test/
DBVH.cpp17 template<typename Scalar, int Dim> AlignedBox<Scalar, Dim> bounding_box(const Matrix<Scalar, Dim, 1… in bounding_box() function
35 template<int Dim> AlignedBox<double, Dim> bounding_box(const Ball<Dim> &b) in bounding_box() function
/external/eigen/unsupported/doc/examples/
DBVH_Example.cpp9 …Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a sing… in bounding_box() function
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dtfexample_decoder.py145 bounding_box = array_ops.concat(sides, 0)
146 return array_ops.transpose(bounding_box)
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py2020 def _testSampleDistortedBoundingBox(self, image, bounding_box, argument
2024 bounding_box_area = float((bounding_box[3] - bounding_box[1]) *
2025 (bounding_box[2] - bounding_box[0]))
2029 np.array(bounding_box, dtype=np.float32).reshape([1, 1, 4]))
2124 bounding_box = [0.0, 0.0, 1.0, 1.0]
2129 bounding_box,
2155 bounding_box = (float(ymin) / height, float(xmin) / width,
2160 bounding_box=bounding_box,
2170 bounding_box = constant_op.constant(
2177 bounding_boxes=bounding_box,
[all …]

12