smart-detection