what are you actually interested to retrieve from that receipe ?
though it’s somewhat obvious to look for a rectangular outline, just saying, maybe you do not need the whole rectangle anyway
also, there are insteresting alternative ways to retrieve text from an image, using dnns