OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.59k stars 2.19k forks source link

Boxpoints #158

Closed Devarsh8 closed 5 years ago

Devarsh8 commented 5 years ago

Sir eachObject in detection convey name, probability & boxpoints.

Here is the value of boxpoints for the rectangle upperleft and lowerright coordinates

OlafenwaMoses commented 5 years ago

The box_points contains values for the X and Y coordinates in order of (x1, y1, x2, y2). x1 and y1 refers to the lowerleft and x2 and y2 refers to the upperright.

anu0012 commented 5 years ago

Hey @OlafenwaMoses I am unable to use box_points argument. It is not showing in eachObject dictionary. Only name and probability are there.

OlafenwaMoses commented 5 years ago

Ensure you install the latest version of ImageAI. See the command below.

pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.2/imageai-2.0.2-py3-none-any.whl