Open kaneyxx opened 1 year ago
Hello, I'm really new to streamlit. I gotta to obtain the coordinate of mouse clicking on the image. Can I get the information from canvas?
canvas_result = st_canvas() objects = pd.json_normalize(canvas_result.json_data["objects"]) x=objects['left'] # x-axis y=objects['top'] # y-axis
Hello, I'm really new to streamlit. I gotta to obtain the coordinate of mouse clicking on the image. Can I get the information from canvas?