Delete detect.cpp