GPUImage
![Inheritance diagram of GPUImage](../../../_images/inheritance-d893aa0e300475c4b67cb4215d2e7c6094e11cba.png)
GPUImage inheritance diagram
- class savant.utils.image.GPUImage(image, cuda_stream=None)
Image data container. GPU version.
- property gpu_mat
- to_cpu()
- cut(bbox)
Cuts image by bbox :param bbox: cutout bbox :return:
- concat(image, axis=0)
Concatenates images along axis.
- paste(image, point)
Pastes image on current image.
- rotate(angle, bbox=None)
Rotates image on angle. If bbox is not None, image will be rotated around center point of image.
- resize(resolution, method='fit', interpolation=cv2.INTER_LINEAR)
Resizes image to resolution.
- Parameters:
- Returns:
resized image
- Return type: