Development,Validation, And Integration Of Ai-Driven Computer Vision System And Digital-Twin System For Traffic Safety Dignostics