I went through this post which tries to implement the illusion in OpenCV.
Processing images causing optical illusions
I am unable to reproduce the result posted on the link. Am I missing some part of the code here? As it has been mentioned that this is a small fragment of python code they tested.
Looking for some guidance.
I am currently counting of this illusion to help me extract edges.