Converting image to float
Adding additional parameter for setting shape for Non-max suppression