Home Artificial Intelligence [Framework] Vision framework πŸ”₯ What’s the Vision Framework? πŸ€” Differences with OpenCV πŸ“– Pipelines within the Vision framework

[Framework] Vision framework πŸ”₯ What’s the Vision Framework? πŸ€” Differences with OpenCV πŸ“– Pipelines within the Vision framework

0
[Framework] Vision framework
πŸ”₯ What’s the Vision Framework?
πŸ€” Differences with OpenCV
πŸ“– Pipelines within the Vision framework

The applying I intend to make requires computer vision technology, so I looked for it and
discovered in regards to the Vision framework, so I briefly summarized it.

The Vision Framework is a framework that was announced together with coreML at WWDC in 2017.

  • face detection
  • Ability to trace facial landmarks
  • Like iPhone’s LiveText, the flexibility to seek out text in a photograph
  • General image registration, tracking function

Computer vision algorithms might be applied to a picture or video to perform various functions similar to the above.

openCV can be one in every of the very talked-about computer vision frameworks.

  • It supports several languages, but unfortunately swift isn’t supported.
    Nevertheless, for the reason that vision framework was developed by Apple, it supports swift.
    Also, it’s my guess, but because it was developed by Apple, isn’t it more compatible with swift? πŸ€”
  • OpenCV is an external framework, so it must be installed individually, however the Vision framework is
    import Visionfinished with only one code.

Pipelines are made up of subparts

request

handler

  • VNImageRequestHandler: Used when working with still images
  • VNSequenceRequestHandler: Note the sequence. Used when working on image sequences (videos)

result

  1. VNRequestA request made with a subclass of is passed to the handler.
  2. handler might be of VNImageRequestHandlertypeVNSequenceRequestHandler
  3. The processed result VNObservationis returned as a subclass of .

For instance, if a sort VNRequestthat may be a subclass of is received as a request, a sort that may be a subclass of is returned as a return.VNDetectFaceRectanglesRequestVNObservationVNFaceObservation

For an additional example, it’s a format VNDetectContoursRequestwhere is received as a request and VNContoursObservationis returned as a return.

By XCoder| LinkedIn | Medium | GitHub

LEAVE A REPLY

Please enter your comment!
Please enter your name here