Training and Deploying a Custom Detectron2 Model for Object Detection using PDF Documents (Part 1…