1. A method of calculating a coordinate of a touch medium, the method comprising: obtaining a first image to determine whether the first image overlaps a first threshold; generating a first interceptive boundary when the first image overlaps the first threshold; obtaining a second image to generate a second interceptive boundary by overlap of the second image and a second threshold; and confirming the touch medium is at a hovering status when the first interceptive boundary does not overlap the second interceptive boundary.