Mouse event click - Face Detection

Hello

I am doing a project in python and opencv abbout face detection/recognition

I already have the part of the face detection and it works well, it can detect the face and put square around the face.
But now I need to make a mouse event, that when I click inside the square, opens another window (tkinter maybe).

I am not expert in python, so if anyone could give me some tips I really appreciate.

I can share some parts of code if necessary.

So what’s your problem? Adding a mouse callback to a window? Or checking if a given (x,y) coordinate is inside a square?