-#!/usr/bin/env python
-
"""Go image recognition lines-finding module"""
import sys
if show_all:
do_something(im_hough, "hough transform")
- im_hough = filters.peaks(im_hough)
- if show_all:
- do_something(im_hough, "peak extraction")
+ # im_hough = filters.peaks(im_hough)
+ # if show_all:
+ # do_something(im_hough, "peak extraction")
- im_h2 = filters.high_pass(im_hough, 120)
+ im_h2 = filters.high_pass(im_hough, 96)
if show_all:
do_something(im_h2, "second high pass filters")
if show_all:
do_something(image_g, "lines")
- return lines, lines_m[0][0], lines_m[1][0], bounds, hough1
+ return lines, lines_m[0][0], lines_m[1][0], bounds, hough1, im_h
def combine(image1, image2):
im_l1 = image1.load()