Automatic barrier gate with surveillance camera, security system for building and car entrance vehicle barrier