Vehicle detection using TD2DHOG features