---
# System prepended metadata

title: 動作檢測 dataset
tags: [dataset]

---

# 動作檢測 dataset

###### tags: `dataset`


:::info
**youtube 4K 各10部** 10分內
:::

*時數*
:::success 

| 日期 | 時間 | 姓名 |
|:----:|:----:|:----:|
|6/3 |15:00~18:00|益銘|
|6/3 |19:00~21:00|益銘|
|6/7 |15:00~20:00|順發|
|6/10|17:00~22:00|順發|

:::

[youtube 4K video downloader](https://mega.nz/file/j1ZmVSyA#5d_XsViJ5n2aFC4PvbKgFyjLCTvQaHBfCGDwQsjlQeQ)

## 1. 網球擊球(揮拍) 

**tennis federer**
**tennis djokovic**

![](https://i.imgur.com/5fyXWT4.gif)


---


1. https://www.youtube.com/watch?v=ZqEZ2IXQwBo
**PLAYING WITH THE NEW ROGER FEDERER RACKET - WILSON PRO STAFF 97**
[24,47],[100,125],[619,643],[683,703],[761,781],[843,864],[917,941],[1004,1024],[1084,1109],[1172,1185],[1245,1271],[1324,1353],[1402,1424],[1464,1475],[1483,1500],[1548,1572],[1615,1640],[1722,1742],[1786,1800],[1856,1868],[1933,1966],[2022,2046],[2089,2109],[2171,2189],[2266,2292],[2347,2373],[2414,2446],[2512,2602],[2701,2731],[2773,2792],[2833,2854],[2875,2897],[3066,3091],[3256,3281],[3356,3378],[3411,3428],[3453,3473],[3498,3522],[3548,3572],[3629,3652],[3692,3700],[3721,3731],[3750,3762],[3812,3834] 


2. https://www.youtube.com/watch?v=OlK9St3QiKs
**Roger Federer Practice US Open ‘18**
[9,75],[163,220],[318,370],[464,518],[625,670],[766,801],[920,970],[1345,1412],[1523,1570],[1705,1750],[1890,1930],[2077,2131],[2232,2279],[2400,2440],[2560,2612],[2705,2752],[2877,2932],[3035,3080],[3221,3281],[3887,3444],[3555,3597],[4246,4310],[4410,4445],[4595,4639],[4775,4815],[5160,5207],[5320,5377],[5480,5518],[5645,5685],[5795,5830],[6329,6375],[6492,6532],[6648,6683],[7024,7093],[7186,7245],[7347,7404],[7498,7573]


3. https://www.youtube.com/watch?v=czLF_n5YcU8
**Roger Federer in 4k | Forehand and Backhand #2 | Western & Southern Open 2014**
**(test)**
[29,52],[94,112],[153,168],[215,235],[294,312],[394,419],[463,489],[528,554],[592,609],[693,707],[769,792],[841,860],[910,930],[966,987],[1038,1056],[1114,1134],[1185,1201],[1333,1350],[1401,1427],[1465,1486],[1528,1553],[1605,1629],[1676,1695],[1784,1801],[1851,1873],[1928,1947],[2004,2022],[2069,2089],[2156,2181],[2224,2242],[2278,2293]


4. https://www.youtube.com/watch?v=MsGum42ghQw
**Rafael Nadal - 4K Rally (2017) Australian Open**
[619,636],[775,809],[875,897],[960,981],[1047,1068],[1199,1217],[1276,1297],[1511,1524]


5. https://www.youtube.com/watch?v=dgN2lhB2Jzg
**Roger Federer vs Alexander Zverev ATP World Tour Finals 2017 4k**
[16,30],[287,301],[337,355],[404,418],[466,483],[531,548],[600,618],[687,708],[755,770],[819,837],[883,902],[941,956],[1493,1511],[1584,1581],[1632,1642],[2173,2186],[2395,2410],[2439,2457],[2503,2520],[2566,2586],[2639,2658],[2716,2736],[3271,3295],[3790,3803],[3996,4010],[4047,4056],[4109,4120],[4733,4748],[4775,4794]


6. https://www.youtube.com/watch?v=5q5LQkPR6I8
**BEST OF 2020 TENNIS TRAINING WITH COACH BRIAN DABUL PART l / ATP / WTA / HIGH PERFORMANCE**
[17,38],[71,87],[123,142],[172,192],[229,247],[278,300],[330,348],[384,405],[439,460],[583,685],[758,781],[841,857],[922,941],[1009,1022],[1088,1103],[1165,1191],[1251,1271],[1355,1367],[1769,1926],[2253,2274],[2510,2530],[2572,2594],[2634,2652],[2776,2788],[2848,2860],[2982,3000],[3194,3211],[3433,3448],[3514,3542],[3595,3614],[3735,3756],[3792,3810],[3853,3874],[3917,3936],[3977,4005],[4066,4093],[4138,4154],[4213,4233],[4278,4297],[4350,4362],[4446,4463],[4525,4543],[4624,4654],[4865,5021],[5548,5640],[5663,5684],[5761,5784],[5858,5879],[5952,5974],[6049,6068],[6150,6174]



7. https://www.youtube.com/watch?v=hMkfJhch57c
**PROFESSIONAL TENNIS DRILLS with Coach Dabul**
[12,33],[70,91],[127,147],[189,210],[252,275],[316,340],[379,403],[444,468],[509,529],[569,590],[630,652],[688,710],[749,771],[808,832],[872,895],[930,958],[992,1021],[1054,1084],[1130,1148],[1211,1229],[1290,1306],[1369,1394],[1454,1481],[1538,1558],[1615,1633],[1703,1720],[1776,1800],[1866,1885],[1951,1972],[2030,2055],[2113,2135],[2260,2274],[2334,2351],[2450,2468],[2526,2543],[2591,2614],[2672,2695],[2771,2801],[2849,2869],[2940,2962],[3019,3044],[3105,3127],[3190,3214],[3280,3305],[3360,3385],[3442,3464],[3544,3561],[3604,3624],[3689,3708],[3766,3788],[3839,3861],[4015,4041],[4099,4116],[4157,4170],[4201,4220],[4270,4288],[4330,4350],[4376,4396],[4442,4469],[4512,4525],[4561,4577],[4628,4651],[4694,4714],[4747,4762],[4810,4832],[4881,4900],[4938,4954],[4990,5010],[5042,5066],[5100,5120],[5152,5173],[5206,5225],[5301,5320],[5384,5403],[5453,5470],[5535,5554],[5610,5634],[5691,5714],[5784,5812],[5847,5867],[5905,5927],[5957,5983],[6013,6034],[6196,6221],[6325,6350],[6422,6443],[6507,6531],[6592,6610],[6675,6700],[6765,6788],[6851,6875]


8. https://www.youtube.com/watch?v=2duwwtLSLYQ
**Federer vs Thiem Indian Wells final game behind the baseline.**
[136,154],[202,230],[284,314],[837,861],[894,922],[1719,1742],[2448,2463],[3519,3543],[3602,3625],[3676,3703],[3749,3771]


9. https://www.youtube.com/watch?v=jtVQkTi65iI
**Professional Tennis Players Training for 2019 season with Coach Brian Dabul.**
**(test)**
[32,49],[99,117],[168,189],[236,253],[300,322],[377,403],[446,463],[506,511],[572,598],[656,675],[733,757],[815,840],[895,920],[962,981],[1045,1061],[1121,1145],[1200,1226],[1279,1305],[1362,1384],[1433,1448],[1469,1488],[1508,1528],[1548,1568],[1593,1614],[1630,1651],[1666,1691],[1708,1730],[1748,1767],[1788,1815],[1830,1854],[1873,1895],[1942,1965],[2014,2039],[2092,2116],[2175,2204],[2264,2290],[2343,2366],[2421,2451],[2515,2543],[2572,2588],[2636,2671],[2711,2745],[2795,2826],[2936,2957],[3013,3035],[3100,3123],[3188,3213],[3293,3307],[3372,3390],[3455,3475],[3544,3563],[3623,3642],[3715,3733],[3767,3781],[3815,3835],[3862,3881],[3912,3931],[3955,3976],[4008,4025],[4061,4075],[4101,4125],[4179,4198],[4259,4285],[4337,4359],[4426,4450],[4506,4532],[4584,4615],[4678,4703],[4772,4800],[4852,4875],[4946,4969],[5034,5058],[5114,5138],[5203,5211],[5265,5289],[5355,5365],[5422,5441],[5676,5696],[5754,5777],[5831,5857]

10. https://www.youtube.com/watch?v=Ai5wolLqaU0
**Novak Djokovic - Australian Open (2019) pre-round 1 practice match in 4K**
[91,124],[170,200],[246,271],[317,347],[395,412],[577,617],[660,688],[733,758],[795,826],[868,901],[953,980],[1026,1056],[1098,1128],[1169,1199],[1241,1267],[1314,1343],[1977,2000],[2392,2418],[2939,2966],[3280,3295],[3829,3850],[4432,4468],[4512,4539],[5068,5094],[5518,5539],[5587,5611],[5664,5696],[5753,5776],[5939,5972],[6050,6081],[6152,6186],[6239,6273]



## 2.  棒球投球 

![](https://i.imgur.com/C75QNgd.gif)


---

1. https://www.youtube.com/watch?v=Sltf6AoElcU
**【台東太麻里三和海濱公園】第一次在海邊投球練習**
[480,518],[770,820],[1210,1260],[1490,1550],[1640,1680],[1775,1820],[1915,1960],[2065,2105],[2312,2348],[2530,2575],[2780,2820],[3020,3060],[3130,3170],[3262,3300],[3505,3548],[3686,3727]

2. https://www.youtube.com/watch?v=vbpe7O62jOw
**2018.09.20 天母棒球場 海峽盃 台壽保 vs 上海 - 林英傑 投球 - 2**
**(test)**
[231,267],[735,769],[1318,1353]

3. https://www.youtube.com/watch?v=QM9iNI2FXtY
**20180831 統一 潘威倫 先發(4K)**
**(test)**
[9,44],[131,181],[298,348],[470,520],[615,665],[711,751],[820,854],[910,943],[1036,1062]

4. https://www.youtube.com/watch?v=Dy_KZDfMPrU
**滑球、曲球練習**
[842,906],[1147,1214],[1815,1876],[2094,2155],[2571,2638],[3095,3162],[3625,3693],[4147,4213],[4807,4880],[5214,5280]

5. https://www.youtube.com/watch?v=NwY0nL-Khj8
**20180405 因戰力不符遭釋出的林煜清面對老東家，一局2K三上三下**
[423,476],[683,725],[840,885],[1016,1041],[1097,1125],[1185,1216],[1251,1281],[1349,1384],[1454,1481],[1694,1720],[1782,1811],[1870,1898],[1965,1997],[2068,2128],[2285,2316],[2420,2450]

6. https://www.youtube.com/watch?v=jzsGv7wERlo
**棒球投球训练日记**
[605,695],[1415,1510],[1925,2010],[2310,2395],[2760,2830]

7. https://www.youtube.com/watch?v=zCYKXnCYAEo
**20160716 トヨタのエース 佐竹功年投手**
[85,145],[990,1030],[1365,1407],[1760,1798]

8. https://www.youtube.com/watch?v=Uaj2eg6JZm4
**Training Command w/ ALL PITCHES - Robby Rowland**
[263,293],[450,475],[545,573],[671,698],[799,878],[952,979],[1020,1048],[1074,1100],[1131,1156],[1190,1216],[1250,1276],[1375,1405],[1450,1480],[1585,1613],[1670,1696],[1765,1793],[1860,1886],[1950,1978]

9. https://www.youtube.com/watch?v=IfhlUdp6jN0
**4K Video, Ryan Bollinger, Left-Handed Pitcher, March 24**
[605,637],[1122,1153],[1522,1557],[1965,1996]

10. https://www.youtube.com/watch?v=EiwfEmsmpBQ
**Zac Rosscup Pitching - Chicago Cubs Spring Training**
[299,322],[349,372],[600,685]

## 3. 高爾夫揮桿 

![](https://i.imgur.com/L2tg8Q6.gif)


---

1. https://www.youtube.com/watch?v=gEK7IRaO3Io
**2019年 11 月 珠海橫琴東方高爾夫球場**
[48,67],[165,185],[526,545],[635,655],[741,760],[966,984],[1096,1119],[1500,1519],[1625,1642],[1816,1834],[1985,2009],[2095,2112],[2644,2663],[2770,2790],[2866,2884],[3460,3480],[3621,3638]

2. https://www.youtube.com/watch?v=_qtYF0FJBWo
**INGEE CHUN 4K SLOW MOTION FACE ON DRIVER GOLF SWING**
[604,635],[988,1089],[1587,1758],[2538,2888],[3385,3480]

3. https://www.youtube.com/watch?v=gS5Frn-84GE
**Maria Fassi's Incredible Golf Swing**
[496,513],[927,987],[1008,1026],[1063,1079],[1123,1141],[1174,1190],[1356,1423],[1564,1582],[1778,1795],[2782,2799],[3022,3040]


4. https://www.youtube.com/watch?v=ewfOLq90N8s
**GOLF SWING ESSENTIALS: Get in Sync (so you can pour it on)**
[1401,1425],[1624,1647],[1917,1941],[2216,2237],[2465,2492],[2585,2678],[3714,3746],[3788,3810],[3858,3881],[3922,3946],[4065,4087],[4149,4240],[4589,4618],[4761,4787],[4999,5027],[5673,5694],[6115,6134],[6384,6411],[6558,6582],[6717,6798]

5. https://www.youtube.com/watch?v=3zZXUQywgSw
**BROOKE HENDERSON CME GOLF SWING FOOTAGE 1080 HD**
[135,154],[410,439],[971,995],[1351,1371],[2138,2160],[2801,2821],[3451,3469],[4082,4103],[4986,5005],[5323,5346],[5929,5948],[6372,6400],[6486,6510],[7098,7119]

6. https://www.youtube.com/watch?v=53ISrO5Rg5c
**BROOKE HENDERSON 4K DTL FAIRWAY WOOD GOLF SWING 1080 HD**
**(test)**
[650,670],[1070,1135],[1464,1569],[2189,2462],[3180,3274]

7. https://www.youtube.com/watch?v=xMlz2gmivv8
**LYDIA KO 4K UHD - 2015 DTL DRIVER GOLF SWING CME GROUP TOUR CHAMPIONSHIP SLOW MOTION**
**(test)**
[236,257],[703,744],[1261,1343],[2080,2254],[3223,3512],[4038,4076]

8. https://www.youtube.com/watch?v=xezTniKd5tA
**Tiger woods 2019 ~ 2018 Fantastic Iron Golf Swing Sequence/ Slo-Mo**
[38,60],[197,222],[350,375],[584,606],[867,897],[1073,1103],[1273,1300],[1330,1356],[1393,1415],[1489,1511],[2090,2910],[3782,4440],[5040,5540]

9. https://www.youtube.com/watch?v=ogBxTIPq4uI
**Golf Tip: Drop Hands or Rotate During Downswing**
[2170,2208],[1950,1980],[2150,2208],[2242,2315],[2790,2850],[2940,2965],[3040,3117],[3620,3690],[3798,3827],[3923,3947],[4192,4281],[4436,4463],[5145,5271],[5313,5370],[5604,5636],[6004,6033],[6214,6239],[6497,6708],[7060,7088],[8090,8142],[8460,8482],[8637,8818]

10. https://www.youtube.com/watch?v=wfrZ8qWo7Ho
**Channel Lock golf swing breaking in a new caddy at Beaver Creek**
[645,670],[777,799],[4530,4551],[7572,7598],[7762,7783]


## 4. 保齡球滾球 

![](https://i.imgur.com/pxxSkC7.gif)

---

1. https://www.youtube.com/watch?v=f_fAdwNIZj4
**Ebonite Allure One Take with Andrew Anderson**
[1640,1686],[2663,2709],[3525,3572],[4458,4502],[5370,5417],[6223,6269],[8677,8722],[9602,9651],[10270,10317],[11139,11187],[14234,14282]

2. https://www.youtube.com/watch?v=HWYUKdR8vfo
**300 game with a Storm Omega Crux**
**(test)**
[80,148],[114,145],[408,471],[808,883],[1236,1316],[3621,3712],[6239,6343],[9450,9535]

3. https://www.youtube.com/watch?v=y2MV4Xk0cS0
**900 Global Honey Badger Claw**
[821,869],[1352,1402],[1908,1952],[2395,2441],[2880,2927],[3442,3488],[4462,4513],[4951,4999],[5505,5555],[5997,6049],[6410,6460],[6864,6915]

4. https://www.youtube.com/watch?v=nDh5l69FjH0
**Harshith playing bowling game at SRMT MALL kakinada**
[48,87],[430,466],[1025,1062],[1381,1419],[1566,1605],[1807,1847],[2365,2412]

5. https://www.youtube.com/watch?v=NH8uSy5Fq4k
**How to Bowl Like a Professional [Bowling Tutorial]**
[2759,2799],[4109,4148],[5825,5880],[6971,7009],[10870,11008],[13463,13492],[14889,14923],[166554,16683],[17750,17775],[23139,23164],[24192,24222],[26105,26130]

6. https://www.youtube.com/watch?v=gOj7Q_vNHCg
**Bowling perfect strike in 4k hd** *短*
**(test)**
[87,125]

7. https://www.youtube.com/watch?v=-C7te8KarKs
**Omni One Take with Tommy Jones**
[907,952],[1994,2039],[3885,3931],[4723,4768],[5563,5608],[6430,6476],[7795,7839],[8517,8562],[9242,9286],[10060,10103],[10935,10980],[11684,11727],[12493,12538]

8. https://www.youtube.com/watch?v=NkGE59ng2Ao
**NEW Track Proof Bowling Ball Review**
[981,1022],[1742,1779],[2585,2625],[2877,2904],[3488,3528]

9. https://www.youtube.com/watch?v=RlR-Z8aZvmc
**Bowling Ball Review. Storm Omega Crux vs IQ Tour WHEN TO USE**
[68,104],[1319,1354],[2145,2181],[2937,2972],[4024,4060],[4946,4982],[5912,5949],[6879,6915],[7848,7885],[9073,9112],[10153,10189]

10. https://www.youtube.com/watch?v=vGgvlTeu3m8
**How to Spin the Bowling ball : 6 Types of Bowling Players [ Episode 9 | 3.5K Subscriber Special ]**
[1910,1995],[2792,2877],[3905,3990],[4665,4757],[5238,5265],[6057,6184],[6757,6778],[7039,7125],[8431,8526],[8768,8799],[9810,9907],[10240,10275],[10328,10392],[10942,11001],[11974,12061]



## 5. 跳高

![](https://i.imgur.com/86jzond.gif)


---

1. https://www.youtube.com/watch?v=VBqiHYyK7Lg
**2019台灣中等學校運動會 女子跳高比賽**
[426,459],[1791,1813],[2668,2692],[3520,3543],[3985,4006],[5385,5404],[5626,5647],[5946,5970],[6154,6178],[6632,6655],[6971,6997],[9150,9172],[10899,10926],[12588,12613],[15893,15919],[18708,18731]

2. https://www.youtube.com/watch?v=Or43nK2cxnI
**25th BALKAN INDOOR CHAMPIONSHIPS - Women's High Jump (February 15, 2020)**
[589,612],[1573,1594],[2133,2157],[2695,2720],[3984,4003],[4331,4350],[4654,4676],[5030,5052],[6032,6056],[7137,7161],[7604,7625],[8435,8457]

3. https://www.youtube.com/watch?v=jl-yfsv2GW4
**Sandro Tomassini (SLO) 210 cm High Jump 6. Place International High Jump Meeting Udine 2020**
[312,347],[1016,1114],[1458,1493]

4. https://www.youtube.com/watch?v=Eh6S1xt33UU
**Jishna M Won South Asian Games 2019 Women's High Jump Gold**
[523,572],[1180,1231],[1914,1963],[3002,3054],[4258,4309]

5. https://www.youtube.com/watch?v=yoMvRjBvWf4
**High jump /Platon**  *720x720*
[334,363],[529,560],[735,796],[1333,1388],[1571,1602],[1770,1828],[2400,2647],[2705,2928],[3037,3067],[3065,3595],[3942,4155],[4868,4923]

6. https://www.youtube.com/watch?v=Q1R4AQkBqwg
**High Jump. Girls U18. Championship of Cyprus.**
[389,408],[606,625],[924,944],[1167,1186],[1400,1419],[1620,1640],[1877,1895],[2134,2152],[2344,2363],[2607,2625],[2888,2908],[3299,3319],[3532,3551],[3776,3796],[3957,3977],[4198,4219],[4447,4467],[4701,4723],[4949,4968],[5498,5518],[5797,5817],[6024,6045],[6479,6297],[6489,6509],[6750,6769],[7158,7179],[7403,7423],[7639,7660],[7869,7890],[8069,8089],[8292,8313],[9018,9038],[9253,9273],[9483,9504],[9703,9724],[10004,10025],[10253,10273],[10504,10525],[10952,10973],[112358,11259],[11464,11486],[11763,11783],[12098,12119],[12336,12357],[12765,12786],[12969,12992],[13224,13245],[13499,13520],[13881,13904],[14173,14195],[14730,14753],[15419,15442],[16522,16544],[16870,16891]

7. https://www.youtube.com/watch?v=XSC17d12Q-w
**Gouwei Zhang (CHN) 227 cm High Jump 1. Place International High Jump Meeting Udine 2020**
[175,206],[477,507],[1445,1476],[2205,2236],[3082,3113]

8. https://www.youtube.com/watch?v=epMhHyKZmTc
**MENS High Jump Final..56th NATIONAL INTER STATE Sr ATHLETICS CHAMPIONSHIPS-2016**
**(test)**
[975,1231],[1613,1638],[2047,2293],[2638,2664],[2816,3062]

9. https://www.youtube.com/watch?v=JOz__NEE4dU
**How to High Jump with Brandon Starc - IAAF Diamond League**
**(test)**
[188,213],[2179,2204],[6099,6124],[7975,7998]

10. https://www.youtube.com/watch?v=w2ETOAi21p0
**Anastasia Bukatina, Cyprus. High Jump, 13 years old.**
[374,394],[535,603],[783,801],[925,996],[1175,1193],[1364,1434],[1531,1580],[1767,1838],[2026,2046],[2203,2275]





**Code**

```python
import os,cv2
from os import walk
from os.path import join

VIDEO_DIR = r'D:\paper_data\video_data\val\goifswing'
FRAME_DIR = r'D:\paper_data\video_data\val\goifswing_frame'      #自動生成

# 指定要列出所有檔案的目錄
mypath = VIDEO_DIR
FPS=1
# 遞迴列出所有檔案的絕對路徑
for root, dirs, files in walk(mypath):
    for f in files:
        fullpath = join(root, f)
        print(fullpath)
        outfile=os.path.join(FRAME_DIR,f)[:-4]
        os.makedirs(outfile)
        
        cap=cv2.VideoCapture(fullpath)
        c=0
        while(cap.isOpened()):
            ret,frame=cap.read()
            if(ret==False):
                  break
            if( c%FPS == 0 ):
                os.chdir(outfile)
                outframe='image_'+str(int(c/FPS))+'.jpg'
                #print(outframe)
                cv2.imwrite(outframe, frame)
            c=c+1
            cv2.waitKey(1)
        cap.release()
print('end')

```

**自動分類**
```python
from os import walk
from os.path import join
import shutil,os

file_path=r"D:\paper_data\golf_frame\Channel Lock golf swing breaking in a new caddy at Beaver Creek"
out_path=r"D:\paper_data\process_golf"
time_list=[[645,670],[777,799],[4530,4551],[7572,7598],[7762,7783]]
```

```python
new_file=join(out_path,os.path.basename(file_path))
is_data=join(new_file,"is_golf")
not_data=join(new_file,"not_golf")
#新增資料夾
if not os.path.exists(new_file):
    os.mkdir(new_file)
    os.mkdir(is_data)
    os.mkdir(not_data)
    print("mkdir {}".format(new_file))
```

```python
#取得路徑後先排序
file_list=os.listdir(file_path)
file_list.sort(key=lambda x:int(x.split(".")[0][6:]))
```

```python
#先處理是的
for i in time_list:
    for a in range(i[0],i[1]+1):
        if(os.path.exists(join(file_path,file_list[a]))):
            shutil.move(join(file_path,file_list[a]),is_data)
        else:
            print('is_data no exist')
print('is_data move ok')

file_list=os.listdir(file_path)
#剩下的都是不是的
for i in file_list:
    if(os.path.exists(join(file_path,i))):
        shutil.move(join(file_path,i),not_data)
    else:
        print('not_data no exist')
print('all success')
```