Skip to content

Purpose and Definition of Functions including argument s usage

slyautomation edited this page Apr 16, 2021 · 11 revisions

Image_Rec_single(image, event, iheight, iwidth, threshold, clicker, ispace=20, cropx=0, cropy=0, playarea=True)

image = A string value that is the name of the image file in single quotations (include the file type extension) e.g 'prawn_fish.png'.

event = A string value that is a short description of what the function is doing for a particular purpose e.g 'picking a fishing spot'.

iheight = An integer that is the amount of pixels to pad from the x plane to the left e.g