Agreed with yonghui, PIR might be a low cost solution, yet, it detect any movement with infrared which include small animals like cats, dogs, etc.
Image processing will be the other alternative, as highlighted, you will require more budget and a lot of work to make it recognize human only.