Automatic Hardhat Wearing Detection to Enhance Construction Site Safety