defect inspection by Halcon