opencv

opencv / ObjectDetectionWithModels / 0.1.51

README.md

Introduction

Core algorithm for taking in an image and a pretrained model and detecting objects for several OpenCV algorithms. This algorithm works by providing a valid opencv model. (For more opencv models, check here)

Algorithms that calls this algorithm:

Input:

  • (Required): Image URL (key="imageUrl")
  • (Required): Model URL (key="modelUrl")
  • (Required): Output URL (key="outputUrl")
  • (Optional): Scale Factor (key="scaleFactor") (default=0)

Example(s)

Example 1.

  • Parameter 1: Image URL
  • Parameter 2: Model URL
  • Parameter 3: Output URL
{
  "imageUrl": "data://opencv/SampleImages/Justin_Trudeau_and_Enrique_Pena_Nieto-2-crop.jpg",
  "modelUrl": "data://opencv/SampleModels/lbpcascade_frontalface.xml",
  "outputUrl": "data://.algo/temp/output.jpg"
}

Output:

data://.algo/temp/output.jpg

Credits

Image retrieved from Wikipedia.