Forum Archive

Select a region in an image

luigilavanga

Hello,

I am a very beginner in Python.
I am using Pythonista to control a camera from the Ipad. I want to show an image and select a rectangle on it by touch, and then do some processing on the selected region. How is it possible to get the pixel coordinates of the point I touch?

Thanks a lot

ccc

You might want to check out Brumm's excellent photo_text.py where he places text on an image.