Nobody can advise you without data samples and your code. Maybe, a smoothing your image by cv2.blur before calling the Canny operator solves the problem. Maybe better parameters of the Canny. Maybe, you need deep edge detector before Canny. Maybe, better camera…