FPGA implementation of a people counter for an ultra-low-power Wireless Camera Network node