Cars vs. humans

How do you make camera that’s set to humans only pick up cars in your driveway but not pick up cars in the road without using that blackout lines? On S40 solar camera

It only has AI human and pet detection but not vehicle detection. AI is hardware built and not cloud thus impossible in your situation