CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 16:27:40 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/"e7f9b1c42fc69e541df6228a021fb263"
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=VVAGm89JIGL4LqhzK%2FcHO3z0cI%2Fx5ktDtnnNCejlPB%2BZdtYtkf1MZJLCGOMo2faTQI1IIUmrH0Rm2%2FoF2fYNmP6ncK5JLl1r7H2%2Bs6KmOD8hBNVBNZke05mlQTpyTWelDOlsFN4cGXawASl4a%2BFgYRb7IPXHeOHdvK8VhFNracWDZIthdixD8%2F7zaWMTj%2BdK55OujY1F4zjhg6VWVo2XwDTQtRpJRIoSW2v%2FR8xAmUXznGSU%2FihwP9HoWWNgqV5tDwRD7rx4uK8oqBkWkQL2eg%3D%3D--4BTgBTssHpx87rmj--9ztr6tXFsDW97wRM3WQGhw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.959792721.1753720059; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 16:27:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 16:27:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 897C:3B05D7:1E7D219:26492DF:6887A4FB
Merge pull request #25771 from fengyuentau:vittrack_black_input · opencv/opencv@e3884a9 · GitHub
Copy file name to clipboardExpand all lines: modules/video/include/opencv2/video/tracking.hpp
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_vit.cpp
Copy file name to clipboardExpand all lines: modules/video/test/test_trackers.cpp
Copy file name to clipboardExpand all lines: samples/dnn/vit_tracker.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit e3884a9
authored
Merge pull request #25771 from fengyuentau:vittrack_black_input
video: fix vittrack in the case where crop size grows until out-of-memory when the input is black #25771
Fixes #25760
### 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
- [x] There is a reference to the original bug report and related work
- [x] 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 0fac5d5 commit e3884a9Copy full SHA for e3884a9
File tree
Expand file treeCollapse file tree
4 files changed
+58
-51
lines changedFilter options
- modules/video
- include/opencv2/video
- src/tracking
- test
- samples/dnn
Expand file treeCollapse file tree
4 files changed
+58
-51
lines changedmodules/video/include/opencv2/video/tracking.hpp
Copy file name to clipboardExpand all lines: modules/video/include/opencv2/video/tracking.hpp+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
920 | 920 |
| |
921 | 921 |
| |
922 | 922 |
| |
| 923 | + | |
923 | 924 |
| |
924 | 925 |
| |
925 | 926 |
| |
|
modules/video/src/tracking/tracker_vit.cpp
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_vit.cpp+35-34Lines changed: 35 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
| 27 | + | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 |
| |
52 | 56 |
| |
53 | 57 |
| |
| |||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
| 65 | + | |
61 | 66 |
| |
62 | 67 |
| |
63 | 68 |
| |
| |||
69 | 74 |
| |
70 | 75 |
| |
71 | 76 |
| |
72 |
| - | |
73 | 77 |
| |
74 | 78 |
| |
75 |
| - | |
| 79 | + | |
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
| |||
90 | 94 |
| |
91 | 95 |
| |
92 | 96 |
| |
| 97 | + | |
| 98 | + | |
93 | 99 |
| |
94 | 100 |
| |
95 | 101 |
| |
96 | 102 |
| |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 | 103 |
| |
103 | 104 |
| |
104 | 105 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
| 106 | + | |
108 | 107 |
| |
109 | 108 |
| |
110 | 109 |
| |
| |||
141 | 140 |
| |
142 | 141 |
| |
143 | 142 |
| |
144 |
| - | |
| 143 | + | |
145 | 144 |
| |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
155 | 153 |
| |
156 | 154 |
| |
157 | 155 |
| |
158 | 156 |
| |
159 |
| - | |
| 157 | + | |
160 | 158 |
| |
161 | 159 |
| |
162 | 160 |
| |
| |||
169 | 167 |
| |
170 | 168 |
| |
171 | 169 |
| |
172 |
| - | |
| 170 | + | |
173 | 171 |
| |
174 |
| - | |
| 172 | + | |
175 | 173 |
| |
176 | 174 |
| |
177 | 175 |
| |
| |||
191 | 189 |
| |
192 | 190 |
| |
193 | 191 |
| |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
203 | 204 |
| |
204 | 205 |
| |
205 | 206 |
| |
|
modules/video/test/test_trackers.cpp
Copy file name to clipboardExpand all lines: modules/video/test/test_trackers.cpp+1-3Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
170 |
| - | |
171 |
| - | |
| 169 | + | |
172 | 170 |
| |
173 | 171 |
| |
174 | 172 |
|
samples/dnn/vit_tracker.cpp
Copy file name to clipboardExpand all lines: samples/dnn/vit_tracker.cpp+21-14Lines changed: 21 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
| 53 | + | |
52 | 54 |
| |
53 | 55 |
| |
54 | 56 |
| |
| |||
57 | 59 |
| |
58 | 60 |
| |
59 | 61 |
| |
| 62 | + | |
60 | 63 |
| |
61 | 64 |
| |
62 | 65 |
| |
| |||
108 | 111 |
| |
109 | 112 |
| |
110 | 113 |
| |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 |
| |
112 | 120 |
| |
113 | 121 |
| |
| |||
130 | 138 |
| |
131 | 139 |
| |
132 | 140 |
| |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 |
| |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
| 147 | + | |
144 | 148 |
| |
145 | 149 |
| |
146 | 150 |
| |
147 |
| - | |
148 |
| - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
149 | 156 |
| |
150 | 157 |
| |
151 |
| - | |
| 158 | + | |
152 | 159 |
| |
153 | 160 |
| |
154 | 161 |
| |
155 | 162 |
| |
156 |
| - | |
| 163 | + | |
157 | 164 |
| |
158 | 165 |
| |
159 | 166 |
| |
|
You can’t perform that action at this time.
0 commit comments