1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

initial commit

This commit is contained in:
Dmitriy Anisimov
2014-09-13 18:28:41 +04:00
parent cff5e3ee88
commit 1007c06d44
159 changed files with 118 additions and 5119 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
'''
This example illustrates how to use Hough Transform to find lines
Usage: ./houghlines.py [<image_name>]
image argument defaults to ../cpp/pic1.png
image argument defaults to ../data/pic1.png
'''
import cv2
import numpy as np
@@ -12,7 +12,7 @@ import math
try:
fn = sys.argv[1]
except:
fn = "../cpp/pic1.png"
fn = "../data/pic1.png"
print __doc__
src = cv2.imread(fn)
dst = cv2.Canny(src, 50, 200)