This may not be the right platform to ask such questions, but I am stuck on this for a day or two and I think only some experienced coders can help me in this.
I have .bmp image(image has been change to .png) and binary array where the image is marked as 0 and digits as 1.
Here is the code,— https://ide.geeksforgeeks.org/2s1gpCwuEc
I cannot figure out where it is incorrect. Can anyone help please.