New technology 'will detect potholes'