draw canvas on image python code example
Example 1: how to draw image in tkinter
from tkinter import *
from PIL import ImageTk, Image
root = Tk()
c = Canvas(root, width=500, height=500)
c.pack()
img = ImageTk.PhotoImage(Image.open(r"imagepath\imagename.extension"))
c.create_image(x, y, image=img, anchor=NW)
Example 2: canvas.create_oval parameters
id = C.create_oval ( x0, y0, x1, y1, option, ... )