Detectron2 is Facebook AI Research's next generation software system that implements state-of-the-art object detection algorithms. It is a ground-up rewrite of the previous version, Detectron, and it originates from maskrcnn-benchmark.
Linux or macOS with Python ≥ 3.6 PyTorch ≥ 1.4 torchvision that matches the PyTorch installation. You can install them together at pytorch.org to make sure of this. OpenCV, optional, needed by demo and visualization pycocotools: pip install cython; pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'