Fix an error in my python code

Job ID: 34797608

Budget: $10 – $30 USD

I have a python code which does some processing on an input image. The code is not complex, but I get an error just at the end of the code. I need some help to fix it.

Below is the line on which I get the error and also the error given is below it.

print('Calculating GLCM using a Rectangular Window....')
glcm = np.asarray(Parallel(n_jobs = 1)(delayed(GLCM_Features_Rectangular)(j, window_size, grey_scale_range, y_pix, x_pix, interval_length) for j in dt_img))

NameError: name 'Parallel' is not defined
Related categories: PHP Python Image Processing