Skip to content

Commit df62ce0

Browse files
committed
GOTURNを削除
1 parent 76e7a66 commit df62ce0

File tree

3 files changed

+16
-42
lines changed

3 files changed

+16
-42
lines changed

README.ja.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,9 @@ zip内の.aufファイルとMotionTracking_modelディレクトリを`AviUtlが
1515

1616
AviUtlのフィルタメニューに"MotionTracking MK-II Plus"が追加されていたら成功です。
1717

18-
また、機械学習を用いたトラッキングアルゴリズムであるMethod 4, 5, 6, 7を使用する場合、追加で作業が必要です。(学習データを同梱することが困難であるため)
18+
また、機械学習を用いたトラッキングアルゴリズムであるMethod 4, 5, 6を使用する場合、追加で作業が必要です。(学習データを同梱することが困難であるため)
1919

20-
### Method 4 (GOTURN)用
21-
[こちらのURL](https://github.com/opencv/opencv_extra/tree/c4219d5eb3105ed8e634278fad312a1a8d2c182d/testdata/tracking)よりそれぞれのデータをダウンロード・分割ZIPを解凍し、
22-
23-
- goturn.caffemodel
24-
- goturn.prototxt
25-
26-
`MotionTracking_modelディレクトリ内`に置いてください。
27-
28-
### Method 5 (DaSiamRPN)用
20+
### Method 4 (DaSiamRPN)用
2921
[こちらのURL](https://github.com/opencv/opencv/blob/4.x/samples/dnn/dasiamrpn_tracker.cpp)のソースコードにコメントアウトとして記載されているURLより
3022

3123
- dasiamrpn_model.onnx
@@ -34,15 +26,15 @@ AviUtlのフィルタメニューに"MotionTracking MK-II Plus"が追加され
3426

3527
をダウンロードし、`MotionTracking_modelディレクトリ内`に置いてください。
3628

37-
### Method 6 (Nano)用
29+
### Method 5 (Nano)用
3830
[こちらのURL](https://github.com/HonglinChu/SiamTrackers/tree/18b7791360acb3f6d276d47376a6f1ed516f1628/NanoTrack/models/nanotrackv2)より
3931

4032
- nanotrack_backbone_sim.onnx
4133
- nanotrack_head_sim.onnx
4234

4335
をダウンロードし、`MotionTracking_modelディレクトリ内`に置いてください。
4436

45-
### Method 7 (Vit)用
37+
### Method 6 (Vit)用
4638
[こちらのURL](https://github.com/opencv/opencv_extra/blob/4.x/testdata/dnn/onnx/models/vitTracker.onnx)より
4739

4840
- vitTracker.onnx
@@ -76,10 +68,9 @@ CJKファイル名もサポートされています。
7668
1. Multi Instance Learning
7769
2. KCF
7870
3. CSRT
79-
4. GOTURN
80-
5. DaSiamRPN
81-
6. Nano
82-
7. Vit
71+
4. DaSiamRPN
72+
5. Nano
73+
6. Vit
8374
###### Rect Hue
8475
Object SelectionやView Resultで表示される矩形の色相を指定します
8576
##### Save EXOのオプション

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,9 @@ Dump the .AUF and MotionTracking_model folder into
1616

1717
The menu name should be "MotionTracking MK-II Plus"
1818

19-
Additional work is required if Methods 4, 5, 6 or 7 are to be used.
19+
Additional work is required if Methods 4, 5 or 6 are to be used.
2020

21-
### For Method 4 (GOTURN)
22-
1. Download each data from [this URL](https://github.com/opencv/opencv_extra/tree/c4219d5eb3105ed8e634278fad312a1a8d2c182d/testdata/tracking)
23-
2. Extract the splited ZIP file
24-
3. Dump the
25-
- goturn.caffemodel
26-
- goturn.prototxt
27-
into `MotionTracking_model folder`
28-
29-
### For Method 5 (DaSiamRPN)
21+
### For Method 4 (DaSiamRPN)
3022
1. Download the following file from the URL listed as a comment out in the source code at [this URL](https://github.com/opencv/opencv/blob/4.x/samples/dnn/dasiamrpn_tracker.cpp)
3123

3224
- dasiamrpn_model.onnx
@@ -35,15 +27,15 @@ Additional work is required if Methods 4, 5, 6 or 7 are to be used.
3527

3628
2. Dump each files into `MotionTracking_model folder`
3729

38-
### For Method 6 (Nano)
30+
### For Method 5 (Nano)
3931
1. Download the following file from [this URL](https://github.com/HonglinChu/SiamTrackers/tree/18b7791360acb3f6d276d47376a6f1ed516f1628/NanoTrack/models/nanotrackv2)
4032

4133
- nanotrack_backbone_sim.onnx
4234
- nanotrack_head_sim.onnx
4335

4436
2. Dump each files into `MotionTracking_model folder`
4537

46-
### For Method 7 (Vit)
38+
### For Method 6 (Vit)
4739
1. Download the following file from [this URL](https://github.com/opencv/opencv_extra/blob/4.x/testdata/dnn/onnx/models/vitTracker.onnx)
4840

4941
- vitTracker.onnx
@@ -76,10 +68,9 @@ Specifies the algorithm to be used in the analysis.
7668
1. Multi Instance Learning
7769
2. KCF
7870
3. CSRT
79-
4. GOTURN
80-
5. DaSiamRPN
81-
6. Nano
82-
7. Vit
71+
4. DaSiamRPN
72+
5. Nano
73+
6. Vit
8374
##### Rect Hue
8475
Specifies the hue of the rectangle displayed in Object Selection and View Result.
8576
##### Save EXO Options

src/main.cpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
HINSTANCE hModuleDLL = nullptr;
1818

1919

20-
constexpr TCHAR* track_method[] = { "MIL", "KCF", "CSRT", "GOTURN", "DaSiamRPN", "Nano", "Vit"};
20+
constexpr TCHAR* track_method[] = { "MIL", "KCF", "CSRT", "DaSiamRPN", "Nano", "Vit"};
2121
constexpr int METHOD_N = sizeof(track_method) / sizeof(TCHAR*);
2222

2323
constexpr TCHAR* track_name[] = { "Method", "Rect Hue" }; // トラックバーの名前
@@ -473,14 +473,6 @@ BOOL func_WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, void *e
473473
tracker = cv::TrackerCSRT::create();
474474
break;
475475
case 3:
476-
{
477-
auto params = cv::TrackerGOTURN::Params();
478-
params.modelBin = modelDir + "goturn.caffemodel";
479-
params.modelTxt = modelDir + "goturn.prototxt";
480-
tracker = cv::TrackerGOTURN::create(params);
481-
break;
482-
}
483-
case 4:
484476
{
485477
auto params = cv::TrackerDaSiamRPN::Params();
486478
params.model = modelDir + "dasiamrpn_model.onnx";
@@ -489,7 +481,7 @@ BOOL func_WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, void *e
489481
tracker = cv::TrackerDaSiamRPN::create(params);
490482
break;
491483
}
492-
case 5:
484+
case 4:
493485
{
494486
auto params = cv::TrackerNano::Params();
495487
params.backbone = modelDir + "nanotrack_backbone_sim.onnx";

0 commit comments

Comments
 (0)