Development of a smart camera system on an FPGA