def save_image_w_lines(iproc_obj, imgfilebasename, orig_img_as_background, file_suffix_prefix=''):
    file_suffix = ('lines-orig' if orig_img_as_background else 'lines')
    img_lines = iproc_obj.draw_lines(orig_img_as_background=orig_img_as_background)
    img_lines_file = os.path.join(OUTPUTPATH, ('%s-%s.png' % (imgfilebasename, (file_suffix_prefix + file_suffix))))
    print(("> saving image with detected lines to '%s'" % img_lines_file))
    cv2.imwrite(img_lines_file, img_lines)
def save_image_w_lines(iproc_obj, imgfilebasename, orig_img_as_background, file_suffix_prefix=):
    file_suffix = ('lines-orig' if orig_img_as_background else 'lines')
    img_lines = iproc_obj.draw_lines(orig_img_as_background=orig_img_as_background)
    img_lines_file = os.path.join(OUTPUTPATH, ('%s-%s.png' % (imgfilebasename, (file_suffix_prefix + file_suffix))))
    print(("> saving image with detected lines to '%s'" % img_lines_file))
    cv2.imwrite(img_lines_file, img_lines)