Design and implementation of camera module on the FPGA platform