RomeroBarata / skeleton_based_anomaly_detection

Code for the CVPR'19 paper "Learning Regularity in Skeleton Trajectories for Anomaly Detection in Videos"
132 stars 49 forks source link

Dear sir,I have some questions for the function _from_image_to_global #12

Closed xuanli98 closed 4 years ago

xuanli98 commented 4 years ago

hello , thanks for the great work. I have some questions for the function _from_image_to_global, could you tell me the principle in the function?, why can pixel coordinates divided by the video_resolution be the global coordinates? thank you very much. image

RomeroBarata commented 4 years ago

Hi @algorithmlixuan,

The name of the function is a bit confusing, sorry for that. We can consider these coordinates to still be in pixel coordinates, but now they range from 0 to 1.

xuanli98 commented 4 years ago

@RomeroBarata I understand now. thank you very much