Help with multiprocessing in python

Job ID: 34341686

Budget: $2 – $8 AUD

Hi, I have a script in Python to do some image processing using the scikit learn library (graycomatrix, graycoprops) saving the output in a .npy file. The thing works, but the problem is that it is terribly slow since it is running a long iteration. I thought about doing some multiprocessing (or using something like Dash) but I have encountered some difficulties that I have no time to resolve (e.g. doing multiprocessing in a Jupiter Notebook, multiprocessing with multiple inputs, Windows 10/11).

So, I was hoping that on my base of my code, you could develop the use of multiprocessing to speed up the processing time - or whatever other (simpler?) option may be feasible to achieve the same aim. Hopefully written in the simplest manner or with comments everywhere (for me to understand what's going on). My original Python code has 59 lines so it should not take long to someone with experience. How much do you reckon this would be? How long do you think this would take you? Thanks
Related categories: Python Data Science Image Processing