# Myriad X (NCS2) for general Computer Vision tasks using G-API

**URL:** https://forum.opencv.org/t/myriad-x-ncs2-for-general-computer-vision-tasks-using-g-api/5047
**Category:** C++
**Tags:** gapi
**Created:** [September 3, 2021, 12:24pm UTC](https://forum.opencv.org/t/myriad-x-ncs2-for-general-computer-vision-tasks-using-g-api/5047 "2021-09-03T12:24:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kota.mogami](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@kota.mogami](https://forum.opencv.org/u/kota.mogami)
#### Post date: [September 3, 2021, 12:24pm UTC](https://forum.opencv.org/t/myriad-x-ncs2-for-general-computer-vision-tasks-using-g-api/5047/1 "2021-09-03T12:24:49Z")

</div>

Hi, is it possible use NCS-2 (Myriad X VPU) for general computer vision tasks such as sobel filtering using G-API?

OpenVINO is supporting G-API, but I’m wondering if it’s possible to run the compiled pipelines by G-API on NCS2 VPU.  
[https://docs.openvinotoolkit.org/latest/openvino\_docs\_gapi\_kernel\_api.html](https://docs.openvinotoolkit.org/latest/openvino_docs_gapi_kernel_api.html)

I understand usual OpenCV function will not be accelerated with NCS2 as discussed in  
[https://answers.opencv.org/question/211341/can-i-use-ncs2-vpu-myriad-x-for-acceleration-cvstereobm/](https://answers.opencv.org/question/211341/can-i-use-ncs2-vpu-myriad-x-for-acceleration-cvstereobm/)

But it will be nice if it’s possible to run G-API pipelines created by combining simple operations from imgproc modules on NCS2 so we can use NCS2 for edge detection or for projection of 3D points.
