Closed ChengBinJin closed 1 year ago
@Mikubill Hi, when I read gradio_openpose.py I found the detected_map of the OpenPose using cv2.INTER_LINEAR. I think it should be used cv2.INTER_NEAREST to keep the color of the pose image as the ControlNet v1.
https://github.com/lllyasviel/ControlNet-v1-1-nightly/blob/78631203a6739cde76a728062b475549a24f94c6/gradio_openpose.py#L47
oh nice catch. will fix then
@Mikubill Hi, when I read gradio_openpose.py I found the detected_map of the OpenPose using cv2.INTER_LINEAR. I think it should be used cv2.INTER_NEAREST to keep the color of the pose image as the ControlNet v1.
https://github.com/lllyasviel/ControlNet-v1-1-nightly/blob/78631203a6739cde76a728062b475549a24f94c6/gradio_openpose.py#L47