projectstreet-detection-docker

Docker for detecting streets. (WIP)
git clone git://archive.git.mtrnord.blog/Nordgedanken/projectstreet-detection-docker.git
Log | Files | Refs | README

commit 1dad191ff8d25caa087a43b9a6880593d91ea2e2
parent 2ff1a888d71e3156473b76d2d2958434d1a1b1c3
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Thu, 13 Oct 2016 17:31:33 +0200

Update download-image-by-link.py
Diffstat:
Mscripts/download-image-by-link.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/download-image-by-link.py b/scripts/download-image-by-link.py @@ -22,7 +22,7 @@ def store_raw_images(): try: i try: - urllib2.request.urlretrieve(i, "neg/"+str(pic_num)+".jpg") + urllib2.urlretrieve(i, "neg/"+str(pic_num)+".jpg") except (HTTPError, URLError) as error: fail_url = 0 except timeout: @@ -55,7 +55,7 @@ def store_raw_images2(): try: i try: - urllib2.request.urlretrieve(i, "neg/"+str(pic_num)+".jpg") + urllib2.urlretrieve(i, "neg/"+str(pic_num)+".jpg") except (HTTPError, URLError) as error: fail_url = 0 except timeout: @@ -88,7 +88,7 @@ def store_raw_pos_images(): try: i try: - urllib2.request.urlretrieve(i, "pos/"+str(pic_num)+".jpg") + urllib2.urlretrieve(i, "pos/"+str(pic_num)+".jpg") except (HTTPError, URLError) as error: fail_url = 0 except timeout: