Hi and welcome, CCTV has come a long way in the last few years you can get systems with trip wires and intrusion boxes, when set up correctly the camera will only inform you if a human, or a vehicle, or both humans or vehicles enter the intrusion box or cross the tripwire. To be clear it can be set up as either singular or both.
Some systems can go much further than this you can have a system set up to alert you if anyone with a red jumper enters the site if you needed to.