You'll need to combine sensors for this application. You can use an ir beam sensor or ultrasonic sensor in combination with a PIR sensor. The PIR sensor will be used to confirm if the object is human or not.
kailangan may camera at gamitan mo ng face detection algorithm or edge detection algorithm para madetect mo kung human nga yung dumaan
You dont need those fancy hitech out of reach techy stuff to achieve your objective.Just list down qualities or features of humans that can be detected using ordinary sensors and combine these to achieve your result.Ang human may dalawang paa so gamit ka ng active ir sensor that has to be interrupted twice in a certain amount of time. Ang humans eh mas mataas ng di hamak sa mga hayop so you could place an ir sensor at a certain height to detect this criteria. If all the criterias are present, then you can be certain na its human.Yung PIR sensor actually ay motion detector that relies on heat to detect motion. Meron siyang sensitivity adjustment so bigger lifeforms like humans will emit higher amount of heat kaya pwede mo rin gamitin as heat sensor to detect human presence but only when it is moving. Just combine the outputs of several sensors and couple it with logic and you have your human detector.