I use a QR reader app to do this. The app will read the barcode and while the barcode may come up as "invalid", it will provide a series of numbers and the last 4 or 5 digits will indicate your deck and stateroom number. For example, the last four digits of this Set Sail Pass barcode are for stateroom 6226. (Deck 6, Stateroom 226).