Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

What exactly returns canvas.coords()?

$
0
0

I've got some problems (again !) : according to this documentation should

temporary = cv.create_text(a,b, text = "ip example", anchor = E)x,y = cv.coords(temporary)print(coords)

return a tuple (x1,y1,x2,y2)Sadly I only get two coordinates : (ex : (347.08203932499373, 320.5342302750968)).

What went wrong ?

EDIT :

1) More precisely, this point is in the documentation p.23, .coords § @DeepSpace

2) I understood this point, but I absolutely need the top-left AND bottom right apex coordinate. If cv.coords() doesn't return these values, how could I find them ? @RonNorris


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>