this is advert detection system write by C++.