CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:15:58 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"9184f75fc5e6a33416f618dcd18b858a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=AyJBiR5rhmYz7Md0kptmHNRwjSE1XMs93Yh3HIlXms4Z4aCT7MHo7AOErIg6hFNymkvWlZkyo%2B%2B1DI3tSgVSm%2FBRq7Y2FiHyd2OzR4YnMSgkAQwFNYD8BiOMcLT1vZwo%2F1DCCqTRjutBJCmS0N%2Fokygunjd4EinsSaa%2B22vNLowBOSeRRQFDI10FPPHo5iID3%2BBuA0cL3w1xrj79zjywTM3LK0BfEyyjEoEtD2qkLkB8FsWZY9rJWfG4j8wn8KVuSjv7wBysHfi3IcGzVL1D%2Bw%3D%3D--T1mEosgEGcTjCNbv--6PzotKb%2FP%2Bb9h7wO7UMDww%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1864049860.1753222558; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:15:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:15:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AC74:121670:182093:204B4D:68800D9E
Merge pull request #24584 from TolyaTalamanov:at/implement-inference-… · opencv/opencv@79797a3 · GitHub
Copy file name to clipboardExpand all lines: modules/gapi/include/opencv2/gapi/infer/ov.hpp
Copy file name to clipboardExpand all lines: modules/gapi/src/backends/ov/govbackend.cpp
Copy file name to clipboardExpand all lines: modules/gapi/src/backends/ov/govbackend.hpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 79797a3
authored
Merge pull request #24584 from TolyaTalamanov:at/implement-inference-only-mode-for-ov-backend
G-API: Implement inference only mode for OV backend #24584
### Changes overview
Introduced `cv::gapi::wip::ov::benchmark_mode{}` compile argument which if enabled force `OpenVINO` backend to run only inference without populating input and copying back output tensors.
This mode is only relevant for measuring the performance of pure inference without data transfers. Similar approach is using on OpenVINO side in `benchmark_app`: https://github.com/openvinotoolkit/openvino/blob/master/samples/cpp/benchmark_app/benchmark_app.hpp#L134-L139
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake1 parent 7833c63 commit 79797a3Copy full SHA for 79797a3
File tree
Expand file treeCollapse file tree
3 files changed
+73
-9
lines changedFilter options
- modules/gapi
- include/opencv2/gapi/infer
- src/backends/ov
Expand file treeCollapse file tree
3 files changed
+73
-9
lines changedmodules/gapi/include/opencv2/gapi/infer/ov.hpp
Copy file name to clipboardExpand all lines: modules/gapi/include/opencv2/gapi/infer/ov.hpp+25Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
679 | 679 |
| |
680 | 680 |
| |
681 | 681 |
| |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
682 | 698 |
| |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
683 | 708 |
| |
684 | 709 |
| |
685 | 710 |
|
modules/gapi/src/backends/ov/govbackend.cpp
Copy file name to clipboardExpand all lines: modules/gapi/src/backends/ov/govbackend.cpp+38-9Lines changed: 38 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
| 255 | + | |
| 256 | + | |
256 | 257 |
| |
257 | 258 |
| |
258 | 259 |
| |
| |||
281 | 282 |
| |
282 | 283 |
| |
283 | 284 |
| |
| 285 | + | |
| 286 | + | |
| 287 | + | |
284 | 288 |
| |
285 | 289 |
| |
286 | 290 |
| |
| |||
301 | 305 |
| |
302 | 306 |
| |
303 | 307 |
| |
| 308 | + | |
| 309 | + | |
304 | 310 |
| |
305 | 311 |
| |
306 | 312 |
| |
| |||
309 | 315 |
| |
310 | 316 |
| |
311 | 317 |
| |
312 |
| - | |
| 318 | + | |
| 319 | + | |
313 | 320 |
| |
314 |
| - | |
| 321 | + | |
| 322 | + | |
315 | 323 |
| |
316 | 324 |
| |
317 | 325 |
| |
| |||
577 | 585 |
| |
578 | 586 |
| |
579 | 587 |
| |
580 |
| - | |
581 |
| - | |
582 |
| - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
583 | 592 |
| |
584 | 593 |
| |
585 | 594 |
| |
| |||
990 | 999 |
| |
991 | 1000 |
| |
992 | 1001 |
| |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
993 | 1007 |
| |
994 | 1008 |
| |
995 | 1009 |
| |
| |||
1069 | 1083 |
| |
1070 | 1084 |
| |
1071 | 1085 |
| |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1072 | 1090 |
| |
1073 | 1091 |
| |
1074 | 1092 |
| |
| |||
1141 | 1159 |
| |
1142 | 1160 |
| |
1143 | 1161 |
| |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1144 | 1166 |
| |
1145 | 1167 |
| |
1146 | 1168 |
| |
| |||
1257 | 1279 |
| |
1258 | 1280 |
| |
1259 | 1281 |
| |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
1260 | 1286 |
| |
1261 | 1287 |
| |
1262 | 1288 |
| |
| |||
1348 | 1374 |
| |
1349 | 1375 |
| |
1350 | 1376 |
| |
1351 |
| - | |
| 1377 | + | |
1352 | 1378 |
| |
1353 |
| - | |
| 1379 | + | |
1354 | 1380 |
| |
1355 | 1381 |
| |
1356 | 1382 |
| |
| |||
1391 | 1417 |
| |
1392 | 1418 |
| |
1393 | 1419 |
| |
| 1420 | + | |
1394 | 1421 |
| |
1395 | 1422 |
| |
1396 | 1423 |
| |
| 1424 | + | |
| 1425 | + | |
1397 | 1426 |
| |
1398 | 1427 |
| |
1399 | 1428 |
| |
| |||
1471 | 1500 |
| |
1472 | 1501 |
| |
1473 | 1502 |
| |
1474 |
| - | |
| 1503 | + | |
1475 | 1504 |
| |
1476 | 1505 |
| |
1477 | 1506 |
| |
|
modules/gapi/src/backends/ov/govbackend.hpp
Copy file name to clipboardExpand all lines: modules/gapi/src/backends/ov/govbackend.hpp+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 |
| |
30 | 36 |
| |
31 | 37 |
| |
| |||
42 | 48 |
| |
43 | 49 |
| |
44 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 |
| |
46 | 55 |
| |
| 56 | + | |
47 | 57 |
| |
48 | 58 |
| |
49 | 59 |
| |
|
You can’t perform that action at this time.
0 commit comments