Traffic Safety Detection System by Digital Twins and Virtual Reality Technology