{"id":13934664,"url":"https://github.com/TannerGilbert/Object-Detection-and-Image-Segmentation-with-Detectron2","last_synced_at":"2025-07-19T19:31:19.423Z","repository":{"id":41473037,"uuid":"220538596","full_name":"TannerGilbert/Object-Detection-and-Image-Segmentation-with-Detectron2","owner":"TannerGilbert","description":"Object Detection and Image Segmentation with Detectron2","archived":false,"fork":false,"pushed_at":"2022-09-05T21:07:08.000Z","size":135162,"stargazers_count":154,"open_issues_count":2,"forks_count":40,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-08T23:18:42.311Z","etag":null,"topics":["detectron2","detectron2-inference","instance-segmentation","object-detection"],"latest_commit_sha":null,"homepage":"https://gilberttanner.com/blog/detectron-2-object-detection-with-pytorch","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TannerGilbert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"TannerGilbert","patreon":"gilberttanner","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-11-08T19:58:57.000Z","updated_at":"2024-08-02T10:41:36.000Z","dependencies_parsed_at":"2023-01-17T21:02:32.051Z","dependency_job_id":null,"html_url":"https://github.com/TannerGilbert/Object-Detection-and-Image-Segmentation-with-Detectron2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TannerGilbert","download_url":"https://codeload.github.com/TannerGilbert/Object-Detection-and-Image-Segmentation-with-Detectron2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226660444,"owners_count":17664451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["detectron2","detectron2-inference","instance-segmentation","object-detection"],"created_at":"2024-08-07T23:01:09.737Z","updated_at":"2025-07-19T19:31:19.410Z","avatar_url":"https://github.com/TannerGilbert.png","language":"Jupyter Notebook","funding_links":["https://github.com/sponsors/TannerGilbert","https://patreon.com/gilberttanner"],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# Object Detection and Instance Segmentation with Detecton2\n![](https://user-images.githubusercontent.com/1381301/66535560-d3422200-eace-11e9-9123-5535d469db19.png)\n\nDetectron2 is Facebooks new library that implements state-of-the-art object detection algorithm. This repository shows you how to use Detectron2 for both inference as well as using transfer learning to train on your own data-set.\n\n## Installation\n\nSee the official [installation guide](https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md).\n\n## Install using Docker\n\nAnother great way to install Detectron2 is by using Docker. Docker is great because you don't need to install anything locally, which allows you to keep your machine nice and clean.\n\nIf you want to run Detectron2 with Docker you can find a Dockerfile and docker-compose.yml file in the [docker directory of the repository](https://github.com/facebookresearch/detectron2/tree/master/docker).\n\nFor those of you who also want to use Jupyter notebooks inside their container, I created a custom Docker configuration, which automatically starts Jupyter after running the container. If you're interested you can find the files in the [docker directory](https://github.com/TannerGilbert/Object-Detection-and-Image-Segmentation-with-Detectron2/tree/master/docker).\n\n## Inference with pre-trained model\n\n* [Detectron2 Inference with pretrained model](Detectron2_inference_with_pre_trained_model.ipynb).\n* [Detect from Webcam or Video](detect_from_webcam_or_video.py)\n* [Detectron2 RestAPI](deploy/rest-api)\n\n## Training on a custom dataset\n\n* [Detectron2 train on a custom dataset](Detectron2_train_on_a_custom_dataset.ipynb).\n* [Detectron2 train with data augmentation](Detectron2_Train_on_a_custom_dataset_with_data_augmentation.ipynb)\n* [Detectron2 Chess Detection](Detectron2_Detect_Chess_Detection.ipynb)\n* [Detectron2 Vehicle Detection](Detectron2_Vehicle_Detection.ipynb)\n\n## D2Go\n\n* [D2GO_Introduction](D2Go/D2GO_Introduction.ipynb)\n* [D2Go_Train_Microcontroller_Detector](D2Go/D2Go_Train_Microcontroller_Detector.ipynb)\n\n## Author\n **Gilbert Tanner**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTannerGilbert%2FObject-Detection-and-Image-Segmentation-with-Detectron2/lists"}