You are not doing the same as in the opencv version. If you do, you'll get the wanted results:
fork = mh.imread(path)
bin = fork[:,:,0]
bin = mh.erode(bin)
bin = (bin < 127)
The erosion step was missing and the threshold was different.
from matplotlib import pyplot as plt
plt.imshow(bin)
plt.gray()