15 best Python Object Detection libraries in 2024

share link

by ganesh dot icon Updated: Jul 31, 2023

technology logo
technology logo

Guide Kit Guide Kit ย 


Python object detection libraries are used for object detection in an image. It is a computer vision library to detect the objects present. 


The Python object detection libraries can be used to build a machine learning model for detecting objects in the images or videos. One of the best in class, Detectron, is Facebook AI Researchโ€™s software system that performs object detection with various state-of-the-art machine learning algorithms like Mask R-CNN. It is powered by the Caffe2 deep learning framework with the goal to provide a high-quality codebase for object detection research.


Pillow or PIL is another open-source Python library for image processing. With it, you can read, rescale, and save images in different formats. Part of the OpenMMLab project, MMDetection is a PyTorch-based object detection toolbox. The following is a comprehensive list of the best open-source libraries that you can use for object detection:

Detectronby facebookresearch

Python doticonstar image 25807 doticonVersion:Currentdoticon
License: Permissive (Apache-2.0)

FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.

Support
    Quality
      Security
        License
          Reuse

            Detectronby facebookresearch

            Python doticon star image 25807 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

            FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.
            Support
              Quality
                Security
                  License
                    Reuse

                      Mask_RCNNby matterport

                      Python doticonstar image 23124 doticonVersion:v2.1doticon
                      License: Others (Non-SPDX)

                      Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                Mask_RCNNby matterport

                                Python doticon star image 23124 doticonVersion:v2.1doticon License: Others (Non-SPDX)

                                Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          mmdetectionby open-mmlab

                                          Python doticonstar image 24583 doticonVersion:v3.0.0doticon
                                          License: Permissive (Apache-2.0)

                                          OpenMMLab Detection Toolbox and Benchmark

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    mmdetectionby open-mmlab

                                                    Python doticon star image 24583 doticonVersion:v3.0.0doticon License: Permissive (Apache-2.0)

                                                    OpenMMLab Detection Toolbox and Benchmark
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              detectron2by facebookresearch

                                                              Python doticonstar image 25211 doticonVersion:v0.6doticon
                                                              License: Permissive (Apache-2.0)

                                                              Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        detectron2by facebookresearch

                                                                        Python doticon star image 25211 doticonVersion:v0.6doticon License: Permissive (Apache-2.0)

                                                                        Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse
                                                                                  Python doticonstar image 23581 doticonVersion:v0.8.10dev0doticon
                                                                                  License: Permissive (Apache-2.0)

                                                                                  PyTorch image models, scripts, pretrained weights -- ResNet, ResNeXT, EfficientNet, EfficientNetV2, NFNet, Vision Transformer, MixNet, MobileNet-V3/V2, RegNet, DPN, CSPNet, and more

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            pytorch-image-modelsby rwightman

                                                                                            Python doticon star image 23581 doticonVersion:v0.8.10dev0doticon License: Permissive (Apache-2.0)

                                                                                            PyTorch image models, scripts, pretrained weights -- ResNet, ResNeXT, EfficientNet, EfficientNetV2, NFNet, Vision Transformer, MixNet, MobileNet-V3/V2, RegNet, DPN, CSPNet, and more
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      labelImgby tzutalin

                                                                                                      Python doticonstar image 15699 doticonVersion:v1.8.1doticon
                                                                                                      License: Permissive (MIT)

                                                                                                      ๐Ÿ–๏ธ LabelImg is a graphical image annotation tool and label object bounding boxes in images

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                labelImgby tzutalin

                                                                                                                Python doticon star image 15699 doticonVersion:v1.8.1doticon License: Permissive (MIT)

                                                                                                                ๐Ÿ–๏ธ LabelImg is a graphical image annotation tool and label object bounding boxes in images
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse
                                                                                                                          Python doticonstar image 20095 doticonVersion:Currentdoticon
                                                                                                                          License: Others (Non-SPDX)

                                                                                                                          Image-to-Image Translation in PyTorch

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    pytorch-CycleGAN-and-pix2pixby junyanz

                                                                                                                                    Python doticon star image 20095 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                    Image-to-Image Translation in PyTorch
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              EasyOCRby JaidedAI

                                                                                                                                              Python doticonstar image 18347 doticonVersion:v1.7.0doticon
                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                              Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        EasyOCRby JaidedAI

                                                                                                                                                        Python doticon star image 18347 doticonVersion:v1.7.0doticon License: Permissive (Apache-2.0)

                                                                                                                                                        Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  albumentationsby albumentations-team

                                                                                                                                                                  Python doticonstar image 12105 doticonVersion:1.3.0doticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  Fast image augmentation library and an easy-to-use wrapper around other libraries. Documentation: https://albumentations.ai/docs/ Paper about the library: https://www.mdpi.com/2078-2489/11/2/125

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            albumentationsby albumentations-team

                                                                                                                                                                            Python doticon star image 12105 doticonVersion:1.3.0doticon License: Permissive (MIT)

                                                                                                                                                                            Fast image augmentation library and an easy-to-use wrapper around other libraries. Documentation: https://albumentations.ai/docs/ Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      Pillowby python-pillow

                                                                                                                                                                                      Python doticonstar image 10903 doticonVersion:9.5.0doticon
                                                                                                                                                                                      License: Others (Non-SPDX)

                                                                                                                                                                                      Python Imaging Library (Fork)

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                Pillowby python-pillow

                                                                                                                                                                                                Python doticon star image 10903 doticonVersion:9.5.0doticon License: Others (Non-SPDX)

                                                                                                                                                                                                Python Imaging Library (Fork)
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          maskrcnn-benchmarkby facebookresearch

                                                                                                                                                                                                          Python doticonstar image 9110 doticonVersion:v0.1doticon
                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                          Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    maskrcnn-benchmarkby facebookresearch

                                                                                                                                                                                                                    Python doticon star image 9110 doticonVersion:v0.1doticon License: Permissive (MIT)

                                                                                                                                                                                                                    Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              detrby facebookresearch

                                                                                                                                                                                                                              Python doticonstar image 11172 doticonVersion:v0.2doticon
                                                                                                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                                                                                                              End-to-End Object Detection with Transformers

                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                        detrby facebookresearch

                                                                                                                                                                                                                                        Python doticon star image 11172 doticonVersion:v0.2doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                        End-to-End Object Detection with Transformers
                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                  ImageAIby OlafenwaMoses

                                                                                                                                                                                                                                                  Python doticonstar image 7811 doticonVersion:test-resources-v3doticon
                                                                                                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                                                                                                  A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities

                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                            ImageAIby OlafenwaMoses

                                                                                                                                                                                                                                                            Python doticon star image 7811 doticonVersion:test-resources-v3doticon License: Permissive (MIT)

                                                                                                                                                                                                                                                            A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                      korniaby kornia

                                                                                                                                                                                                                                                                      Python doticonstar image 8273 doticonVersion:v0.6.12doticon
                                                                                                                                                                                                                                                                      License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                      Differentiable Computer Vision Library

                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                korniaby kornia

                                                                                                                                                                                                                                                                                Python doticon star image 8273 doticonVersion:v0.6.12doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                                Differentiable Computer Vision Library
                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                          CenterNetby xingyizhou

                                                                                                                                                                                                                                                                                          Python doticonstar image 6889 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                                                                                                          Object detection, 3D detection, and pose estimation using center point detection:

                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                    CenterNetby xingyizhou

                                                                                                                                                                                                                                                                                                    Python doticon star image 6889 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                    Object detection, 3D detection, and pose estimation using center point detection:
                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                            Reuse