PYQT5 - Mark Region(ROI) and get the coordinates

Job ID: 33866306

Budget: ₹1,500 – ₹12,500 INR

We need a pseudo code for marking/drawing bounding box on an Image in PYQT5 window. The box will be a rectangle. Once all four points are drawn, a box should appear and we should get the coordinates of all the 4 points.
Related categories: Python Software Architecture Qt