Well one way is to fetch stream metadata. The realtime overlay you see can be embedded within stream as metadata.
You get temp info and coordinates.
Also it should be possible via SDK as its possible for people counting camera to get realtime counter