Is there a way to do split an image into sections with pure OpenCV functions so that I don't need to take it off of my GPU?

前端 未结 0 1681
小蘑菇
小蘑菇 2021-01-17 06:10
def split(img: cv2.UMat) -> cv2.UMat:
    img = img.get()
    images = []
    i = 0
    height, width, _ = img.shape
    while i < height:
        section = np         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题