| Total Complexity | 0 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 2 | """ |
||
| 3 | Created on Tue Oct 25 14:59:23 2022 |
||
| 4 | |||
| 5 | @author: ameimand |
||
| 6 | """ |
||
| 7 | |||
| 8 | import requests |
||
| 9 | URL = 'https://raw.githubusercontent.com/arunponnusamy/object-detection-opencv/master/yolov3.txt' |
||
| 10 | response = requests.get(URL) |
||
| 11 | open('yolov3.txt', 'wb').write(response.content)
|
||
| 12 | |||
| 13 | URL = 'https://pjreddie.com/media/files/yolov3.weights' |
||
| 14 | response = requests.get(URL) |
||
| 15 | open('yolov3.weights', 'wb').write(response.content)
|
||
| 16 | |||
| 17 | URL = 'https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3.cfg' |
||
| 18 | response = requests.get(URL) |
||
| 19 | open('yolov3.cfg', 'wb').write(response.content) |