CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:56:16 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/"19b6224a10992bb43a2affbf8726423a"
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=d0VBMeEYjC271g9JUL%2BmXGj%2F8erB%2BYyO23YLj81D7gw3LoL39gHrXCkCAncWA6%2F084RtpsbvRVpxvSm4DMEwQUhkt1WJpDNt5pkWp2U7FlHqb1oTshDHZP8U5hXwTlQa%2B7nwj%2BCTf9xZKoy8UpOJ%2F5xZKj95B4f8Vf3m%2FWK%2FH3vFVxSh17eaHGjFdGlE888DKdjO6bnn3ff2w9SxgqDY6iEu1q5%2BQgZeynzJ1gup%2FsCBF6k%2BDO75XpXl7Zy6XGjbYxzgpU38Xsr3Kkt8uzU16w%3D%3D--FUmwKOhDkxp7L36v--QZV9mno%2FpIcnWc7u0pePgw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.740995134.1753224975; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:56:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:56:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EE1A:394F4C:1A0232:2377D6:6880170F
Merge pull request #23766 from TolyaTalamanov:at/segmentation-demo-de… · opencv/opencv@a371bda · GitHub
Copy file name to clipboardExpand all lines: modules/gapi/include/opencv2/gapi/streaming/cap.hpp
Copy file name to clipboardExpand all lines: modules/gapi/misc/python/pyopencv_gapi.hpp
Copy file name to clipboardExpand all lines: modules/gapi/samples/semantic_segmentation.cpp
Copy file name to clipboardExpand all lines: modules/python/src2/cv2_convert.hpp
Copy file name to clipboardExpand all lines: modules/python/src2/typing_stubs_generation/predefined_types.py
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit a371bda
authored
Merge pull request #23766 from TolyaTalamanov:at/segmentation-demo-desync
G-API: Refine Semantic Segmentation Demo #23766
### Overview
* Supported demo working with camera id (e.g `--input=0`)
* Supported 3d output segmentation models (e.g `deeplabv3`)
* Supported `desync` execution
* Supported higher camera resolution
* Changed the color map to pascal voc (https://cloud.githubusercontent.com/assets/4503207/17803328/1006ca80-65f6-11e6-9ff6-36b7ef5b9ac6.png)
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [ ] I agree to contribute to the project under Apache 2 License.
- [ ] 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
- [ ] 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.
- [ ] The feature is well documented and sample code can be built with the project CMake1 parent 134d0b7 commit a371bdaCopy full SHA for a371bda
File tree
Expand file treeCollapse file tree
5 files changed
+187
-62
lines changedFilter options
- modules
- gapi
- include/opencv2/gapi/streaming
- misc/python
- samples
- python/src2
- typing_stubs_generation
Expand file treeCollapse file tree
5 files changed
+187
-62
lines changedmodules/gapi/include/opencv2/gapi/streaming/cap.hpp
Copy file name to clipboardExpand all lines: modules/gapi/include/opencv2/gapi/streaming/cap.hpp+24-7Lines changed: 24 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
50 |
| - | |
51 |
| - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
52 | 61 |
| |
53 | 62 |
| |
54 | 63 |
| |
| |||
59 | 68 |
| |
60 | 69 |
| |
61 | 70 |
| |
62 |
| - | |
| 71 | + | |
63 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
64 | 77 |
| |
65 | 78 |
| |
66 | 79 |
| |
| |||
114 | 127 |
| |
115 | 128 |
| |
116 | 129 |
| |
117 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
118 | 133 |
| |
119 |
| - | |
| 134 | + | |
120 | 135 |
| |
121 | 136 |
| |
122 | 137 |
| |
123 |
| - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
124 | 141 |
| |
125 |
| - | |
| 142 | + | |
126 | 143 |
| |
127 | 144 |
| |
128 | 145 |
| |
|
modules/gapi/misc/python/pyopencv_gapi.hpp
Copy file name to clipboardExpand all lines: modules/gapi/misc/python/pyopencv_gapi.hpp+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
|
modules/gapi/samples/semantic_segmentation.cpp
Copy file name to clipboardExpand all lines: modules/gapi/samples/semantic_segmentation.cpp+151-51Lines changed: 151 additions & 51 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 |
| |
9 | 14 |
| |
| 15 | + | |
10 | 16 |
| |
11 | 17 |
| |
12 | 18 |
| |
13 | 19 |
| |
14 | 20 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 |
| |
37 | 44 |
| |
38 | 45 |
| |
| |||
43 | 50 |
| |
44 | 51 |
| |
45 | 52 |
| |
46 |
| - | |
47 |
| - | |
| 53 | + | |
| 54 | + | |
48 | 55 |
| |
49 | 56 |
| |
50 | 57 |
| |
51 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
52 | 70 |
| |
53 | 71 |
| |
54 | 72 |
| |
| |||
97 | 115 |
| |
98 | 116 |
| |
99 | 117 |
| |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
100 | 137 |
| |
101 | 138 |
| |
102 | 139 |
| |
| |||
106 | 143 |
| |
107 | 144 |
| |
108 | 145 |
| |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
109 | 155 |
| |
110 | 156 |
| |
111 | 157 |
| |
112 |
| - | |
| 158 | + | |
113 | 159 |
| |
114 | 160 |
| |
115 |
| - | |
116 |
| - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
117 | 170 |
| |
118 |
| - | |
119 | 171 |
| |
120 | 172 |
| |
121 |
| - | |
| 173 | + | |
122 | 174 |
| |
123 | 175 |
| |
124 | 176 |
| |
| |||
134 | 186 |
| |
135 | 187 |
| |
136 | 188 |
| |
| 189 | + | |
137 | 190 |
| |
138 | 191 |
| |
139 | 192 |
| |
| |||
145 | 198 |
| |
146 | 199 |
| |
147 | 200 |
| |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
153 | 205 |
| |
154 |
| - | |
155 |
| - | |
156 |
| - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
157 | 226 |
| |
158 | 227 |
| |
159 | 228 |
| |
160 | 229 |
| |
161 |
| - | |
162 | 230 |
| |
163 |
| - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
164 | 237 |
| |
165 |
| - | |
166 |
| - | |
167 | 238 |
| |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
177 | 275 |
| |
178 |
| - | |
| 276 | + | |
| 277 | + | |
179 | 278 |
| |
180 | 279 |
| |
181 | 280 |
| |
182 |
| - | |
| 281 | + | |
| 282 | + | |
183 | 283 |
| |
184 | 284 |
|
modules/python/src2/cv2_convert.hpp
Copy file name to clipboardExpand all lines: modules/python/src2/cv2_convert.hpp+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
271 | 276 |
| |
272 | 277 |
| |
273 | 278 |
| |
|
modules/python/src2/typing_stubs_generation/predefined_types.py
Copy file name to clipboardExpand all lines: modules/python/src2/typing_stubs_generation/predefined_types.py+6-4Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
| 194 | + | |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
197 | 197 |
| |
198 |
| - | |
| 198 | + | |
199 | 199 |
| |
200 |
| - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
|
You can’t perform that action at this time.
0 commit comments