CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 20:32:29 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/"452dd749add97be68019b8563179f67e"
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=ul49QSSS%2FN2qWvDTi1EhzHkDa4Y1NwcwwgqEqMdoy64pwlCreOPc01ErLnWvC%2FgJKLlOBs6jUZ%2B7FP52ROoK0AOIdxhz3x82YQhUCDHI3P9DyzaC5fJ0T3mFvkNjbjicK3XaicdmewovjzKBrRiY5vGRWGYQF0B5%2BJ1wVMAj6CN5%2F31nUhoKkoCStxicRkAIdmFMMQmGmb3c%2FkM9I7PuFB962Q05jbIPsz3XJCYFVPlaklNXuzJB2mLUcfOkKZcd71GTaSoq53m39jejiU7FVA%3D%3D--WSgYyi4OKE72UxTg--jUtgvXxvZDtb36ja5ulyWw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1270960227.1753648348; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 20:32:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 20:32:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8FE4:29FD1F:116A11C:16DCC21:68868CDC
Merge pull request #26875 from asmorkalov:as/in_memory_models · opencv/opencv@ae25c31 · GitHub
Copy file name to clipboardExpand all lines: modules/java/generator/gen_java.py
Copy file name to clipboardExpand all lines: modules/python/test/tests_common.py
Copy file name to clipboardExpand all lines: modules/video/include/opencv2/video/tracking.hpp
Copy file name to clipboard
Copy file name to clipboardExpand all lines: modules/video/misc/python/test/test_tracking.py
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_dasiamrpn.cpp
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_goturn.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit ae25c31
authored
Merge pull request #26875 from asmorkalov:as/in_memory_models
Added trackers factory with pre-loaded dnn models #26875
Replaces #26295
Allows to substitute custom models or initialize tracker from in-memory model.
### 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
- [ ] 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 a8df0a0 commit ae25c31Copy full SHA for ae25c31
File tree
Expand file treeCollapse file tree
9 files changed
+223
-41
lines changedFilter options
- modules
- java/generator
- python/test
- video
- include/opencv2/video
- misc
- java/test
- python/test
- src/tracking
Expand file treeCollapse file tree
9 files changed
+223
-41
lines changedmodules/java/generator/gen_java.py
Copy file name to clipboardExpand all lines: modules/java/generator/gen_java.py+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
| 428 | + | |
| 429 | + | |
428 | 430 |
| |
429 | 431 |
| |
430 | 432 |
| |
| |||
474 | 476 |
| |
475 | 477 |
| |
476 | 478 |
| |
477 |
| - | |
| 479 | + | |
478 | 480 |
| |
479 | 481 |
| |
480 | 482 |
| |
| |||
483 | 485 |
| |
484 | 486 |
| |
485 | 487 |
| |
486 |
| - | |
| 488 | + | |
487 | 489 |
| |
488 | 490 |
| |
489 | 491 |
| |
|
modules/python/test/tests_common.py
Copy file name to clipboardExpand all lines: modules/python/test/tests_common.py+9-1Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 |
| - | |
| 32 | + | |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| |||
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
| 87 | + | |
86 | 88 |
| |
87 | 89 |
| |
88 | 90 |
| |
89 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
90 | 98 |
| |
91 | 99 |
| |
92 | 100 |
| |
|
modules/video/include/opencv2/video/tracking.hpp
Copy file name to clipboardExpand all lines: modules/video/include/opencv2/video/tracking.hpp+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 |
| |
50 | 53 |
| |
51 | 54 |
| |
| |||
826 | 829 |
| |
827 | 830 |
| |
828 | 831 |
| |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
829 | 839 |
| |
830 | 840 |
| |
831 | 841 |
| |
| |||
853 | 863 |
| |
854 | 864 |
| |
855 | 865 |
| |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
856 | 876 |
| |
857 | 877 |
| |
858 | 878 |
| |
| |||
891 | 911 |
| |
892 | 912 |
| |
893 | 913 |
| |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
894 | 923 |
| |
895 | 924 |
| |
896 | 925 |
| |
| |||
929 | 958 |
| |
930 | 959 |
| |
931 | 960 |
| |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
932 | 973 |
| |
933 | 974 |
| |
934 | 975 |
| |
|
modules/video/misc/java/test/TrackerCreateTest.java
Copy file name to clipboard+71-5Lines changed: 71 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| 9 | + | |
| 10 | + | |
8 | 11 |
| |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 |
| |
13 | 21 |
| |
14 | 22 |
| |
15 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
16 | 29 |
| |
17 | 30 |
| |
18 | 31 |
| |
19 |
| - | |
20 | 32 |
| |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
21 | 57 |
| |
22 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
23 | 88 |
| |
24 |
| - | |
25 |
| - | |
| 89 | + | |
| 90 | + | |
26 | 91 |
| |
27 |
| - | |
| 92 | + | |
28 | 93 |
| |
| 94 | + | |
| 95 | + | |
29 | 96 |
| |
30 | 97 |
| |
31 | 98 |
| |
| |||
35 | 102 |
| |
36 | 103 |
| |
37 | 104 |
| |
38 |
| - | |
39 | 105 |
|
modules/video/misc/python/test/test_tracking.py
Copy file name to clipboardExpand all lines: modules/video/misc/python/test/test_tracking.py+24-6Lines changed: 24 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
16 | 34 |
| |
17 | 35 |
| |
18 | 36 |
| |
|
modules/video/src/tracking/tracker_dasiamrpn.cpp
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_dasiamrpn.cpp+19-6Lines changed: 19 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 |
| - | |
| 60 | + | |
62 | 61 |
| |
63 |
| - | |
64 | 62 |
| |
65 | 63 |
| |
66 | 64 |
| |
| |||
77 | 75 |
| |
78 | 76 |
| |
79 | 77 |
| |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 |
| |
81 | 90 |
| |
82 | 91 |
| |
83 | 92 |
| |
84 |
| - | |
85 |
| - | |
86 | 93 |
| |
87 | 94 |
| |
88 | 95 |
| |
| |||
425 | 432 |
| |
426 | 433 |
| |
427 | 434 |
| |
| 435 | + | |
428 | 436 |
| |
429 | 437 |
| |
430 | 438 |
| |
431 | 439 |
| |
432 | 440 |
| |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
433 | 446 |
| |
434 | 447 |
| |
435 | 448 |
| |
436 | 449 |
| |
437 |
| - | |
| 450 | + | |
438 | 451 |
| |
439 | 452 |
| |
440 | 453 |
|
modules/video/src/tracking/tracker_goturn.cpp
Copy file name to clipboardExpand all lines: modules/video/src/tracking/tracker_goturn.cpp+12-4Lines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 |
| |
35 |
| - | |
36 | 41 |
| |
37 | 42 |
| |
38 |
| - | |
| 43 | + | |
39 | 44 |
| |
40 | 45 |
| |
41 | 46 |
| |
| |||
49 | 54 |
| |
50 | 55 |
| |
51 | 56 |
| |
52 |
| - | |
53 |
| - | |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
| |||
129 | 132 |
| |
130 | 133 |
| |
131 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
132 | 140 |
| |
133 | 141 |
| |
134 | 142 |
| |
|
You can’t perform that action at this time.
0 commit comments