Skip to content
#

Image processing

Digital image processing is the use of algorithms to make computers analyze the content of digital images.

Here are 10,810 public repositories matching this topic...

blazejdolicki
blazejdolicki commented May 27, 2021
System information (version)
  • OpenCV => 4.2
  • Operating System / Platform => Windows 64 Bit
  • Compiler => Visual Studio Code 1.56.2
Detailed description

When running cv2.seamlessClone() the error is a bit misleading when the incorrect image path is supplied. It doesn't make it obvious that the problem is in the path

Steps to reproduce
import cv2
# Read i
albumentations
BloodAxe
BloodAxe commented Oct 6, 2021

Enhancement

A discussion in #614 revealed a good place for improvement - we should ensure that input image is continuous upon start of the augmentation pipeline. This could be implemented by adding image = np.ascontiguousarray(image) to image and mask targets.

A proposed place to add this call - somewhere at the beginning of A.Compose.__call__.