Accurate Pedestrian Detection in Thermal Images for FPGA