iam trying to automise the training process for yolov5 instead of manually annotating the images. So, i need images and a text file which contain the coordinates of region of interest(ROI) i have a subscription of azureparser, in which when i pass the pdf, i get the coordinates of ROI. i want to utilize these coordinates in making that yolo .txt file and for images iam converting these pdf into images(coz i dont have the input as image, only pdf).
so i have 2 queations:-
- how to convert azure coordinates into YOLO format ?
- when i convert PDF to Image(as YOLO accepts only Image input), the coordinates of ROI changes and i cant use the Azure Parser coordinates on the converted image, so How can i convert PDF to image such that after converting, the coordinates of each ROI remain the same as it were in PDF ? ###################################################################################################
(I tried libraries such as pdf2image etc to convert it to pdf, but then also there is no match in ROI coordinates. and i didnt get the correct conversion formula for converting Azure Parser coordinates into YOLOv5)