WLJS LogoWLJS Notebook

ImagePosition

ImagePosition[image] gives an association of image positions for each identified category of objects in image.

  • ImagePosition[image, obj] gives a list of image positions for subimages identified as instances of the specified category.
  • ImagePosition[video, ...] gives a time series of detected object positions in frames of video.

Examples

Find face positions:

img = ExampleData[{"TestImage", "Crowd"}];
ImagePosition[img, "Face"]

All detected objects:

ImagePosition[img]

Cat positions:

ImagePosition[img, Entity["Concept", "Cat::7x3bv"]]

Please visit the official Wolfram Language Reference for more details.

On this page