hd detection