Day 81 – COCO Keypoint Detection Detectron2 Computer Vision by Facebook AI Research (FAIR)

We have seen the below posts on Detectron2.

Today, we will see in this blog about COCO Keypoint Detection in Detectron2.

What is COCO Keypoint Detection?

The COCO Keypoint Detection Task requires localization of person keypoints in challenging, uncontrolled conditions. The keypoint task involves simultaneously detecting people and localizing their keypoints (person locations are not given at test time)

Source: COCO Keypoint Detection

Image Source: COCO Keypoint Detection

The above image gives you a clear view of Keypoint detection.

COCO dataset contains more than 200,000 images and 250,000 persons labeled with keypoints.  Annotations on train and validation are available for public and it contains more than 150,000 persons and 1,700,000  labeled keypoints.

Let’s copy existing code from Detectron2 and test the COCO Keypoint Detection.

I am using Google Colab and you check the online code here.

Before you start the blow code on Google Colab, we need to set runtime type as GPU under Runtime -> Change runtime type -> Hardware accelerator -> GPU.
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
woman-serving-download
Copy to Clipboard
Portrait Of Mature Woman Serving
Copy to Clipboard
COCO Keypoint Detection After Model Run
Output:

Detectron2 COCO Keypoint Detection labels only persons unlike Panoptic FPN or Mask R-CNN.

What is your thought on this Detectron2 COCO Keypoint Detection?

Would you please comment below and where we can use in future technologies?

Links:

Google Colab COCO Keypoint Detection

Detectron2 – Facebook AI

Detectron2 Github Repository

By |2021-07-08T22:29:57+00:00July 8th, 2021|Artificial Intelligence, Machine Learning|0 Comments

About the Author:

Leave A Comment