Merge pull request #15888 from OrestChura:facebeautification_gapi_sample
authorOrest Chura <orest.chura@intel.com>
Mon, 18 Nov 2019 12:13:05 +0000 (15:13 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 18 Nov 2019 12:13:05 +0000 (15:13 +0300)
commitaf230ec13334e4afadee329263678dcce63557c8
treead9322f19f3ade1e1532f0c7914c7f3ad45d0738
parentfc41c18c6f27c1ae663b2b8b561235921280174c
Merge pull request #15888 from OrestChura:facebeautification_gapi_sample

Introducing the sample of Face Beautification algorithm implemented via Graph-API

* Introducing the sample of Face Beautification algorithm implemented via Graph-API
- 'gapi/samples/face_beautification.cpp' added
- FIXME added in 'gcpukernel.hpp'

* INF_ENGINE fix
- preprocessing clauses added not to run the sample without Inference Engine

* INF_ENGINE fix 2
- warnings removed

* Fixes
- checking IE version cut as there is no dependency
- some alignments fixed
- the comment about preprocessing commands fixed

* ie::backend() issue fix (according to dmatveev)
- as the sample needs the cv::gapi::ie::backend() to be defined regardless of having IE or not, there is its throw-error definition in `giebackend.cpp` now (by dmatveev)
- for the same reason, #includes in `giebackend.hpp` are fixed
- HAVE_INF_ENGINE check is removed from the sample
modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp
modules/gapi/samples/face_beautification.cpp [new file with mode: 0644]
modules/gapi/src/backends/ie/giebackend.cpp
modules/gapi/src/backends/ie/giebackend.hpp