I'm quite new to Python so bear with me, I downloaded a github project for Document Forgery Detection that works with 3.6 and buried within it is scipy.misc.imsave
which is deprecated.
The call to scipy.misc.imsave
only has one parameter but I can't find documentation for that call, only for two parameter methods.
So when I tried to upgrade to what I found recommended online, imageio
I replaced the calls as so.
Before
scipy.misc.imsave(self.imageOutputDirectory + "MarkedImage")
After
imageio.imwrite(self.imageOutputDirectory + "MarkedImage")
Of course this doesn't work as it expects two params. The problem is I can't figure out what the original implementation was somehow passing to scipy to reference it, is it some inherited method in the class?