Electronic component identification system based on FPGA and machine learning