Then why did you send a clean image????
Are you wanting to scan many different type in different orientations / different surfaces? The underlying decode library is not ideal in this regard. So unless you can get repeatable images fed in, this is not going to be easy & you would probably be better off buying a cheap barcode scanner that interfaces with the PI to feed results to node-red.