How to get image coordinates on python !? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

How to get image coordinates on python !?

Hello everyone , i have a data of images and i want to have its coordinates on an .xlsl file , is there any code ( Python ) that makes me get those informations from a set of images !?? [x_bot_left y_bot_left x_top_left y_top_left ... x_top_right y_top_right x_bot_right y_bot_right]

15th May 2020, 11:13 PM
Wissam Bouattou
Wissam Bouattou - avatar
1 Answer
+ 5
You can use python openCV module import cv2 im = cv2.imread("myimg.png",mode='RGB') print type(im)
16th May 2020, 1:50 AM
Sudarshan Rai
Sudarshan Rai - avatar