Guide · Every shop
Use your phone camera as a barcode scanner POS
You do not need a gun scanner to bill fast. A modern phone camera reads most retail barcodes in well under a second, as long as you know a few tricks about light and distance.
A few years ago a "POS" meant a computer, a cash drawer and a wired barcode gun. Today the camera on a mid-range Android phone is good enough to replace the gun for most small shops. A barcode scanner POS app turns the phone into the scanner, the till and the stock book at once. This guide explains which barcodes you will meet, how to get fast, reliable reads, and what to do with products that have no barcode at all.
The barcodes on your shelves
You will mostly see a handful of formats. OCRPos reads all of these on the phone using Google ML Kit:
| Format | What it looks like | Where you see it |
|---|---|---|
| EAN-13 | Bars with 13 digits underneath | Nearly all packaged goods in India and worldwide. Indian brands often start with 890. |
| EAN-8 | Short version, 8 digits | Very small packs: sachets, gum, small cosmetics |
| UPC-A / UPC-E | 12 digits (or a compressed version) | Products made for the US and Canadian markets, many imported items |
| Code 128 / Code 39 | Variable-length bars, often with letters | Cartons, logistics labels, some electronics and spare parts |
| QR code | Square of black and white blocks | Some newer packs, promotional links, payment codes |
| DataMatrix | Small square of dots with an L-shaped edge | Medicines and some FMCG; GS1 versions carry batch and expiry |
For billing, the EAN-13 on the back of the pack is what matters. DataMatrix codes on medicines are more useful for stock entry, because the GS1 version contains the batch and expiry date as well; see batch and expiry tracking for medical stores.
Setting up the phone as a scanner
- Install OCRPos from Google Play (coming soon; Android 8.0 or newer) and allow camera access when asked.
- Open the sell screen. The camera scanner sits at the top with a "Barcode" and a "Label" mode.
- Scan a product. If it is in your stock, it lands in the cart and the phone vibrates. If not, add it once with its price and it will be recognised from then on.
No pairing, no drivers, no USB. Everything is read on the phone and camera images are never uploaded, so it keeps working when the internet is down. See barcode scanner and works offline.
Getting fast, reliable scans
Most "the camera is slow" complaints come down to the same few physical things. Fix these and scanning feels instant.
Light
- Even light beats bright light. A tube light or LED panel above the counter is ideal. A single bulb directly overhead causes glare on shiny packs.
- Avoid glare. Tilt glossy wrappers (chips, chocolates, shampoo bottles) slightly so the reflection moves off the bars.
- Watch your own shadow. If you lean over the counter, you can block the light. Hold the phone to one side.
- Evenings and power cuts: a small LED desk lamp at the counter is cheap and makes a big difference.
Distance and angle
- Hold the code roughly 10–20 cm from the camera. Too close and the phone cannot focus; too far and thin bars blur.
- Keep the bars horizontal across the frame, roughly filling the guide area.
- Keep it flat. A barcode wrapped around a bottle neck reads better if you turn the bottle so the code faces the camera squarely.
The phone itself
- Clean the lens. At a busy counter it gets greasy within hours. Wipe it with a soft cloth each morning.
- Use a stand. A cheap phone stand at the counter frees both hands: hold the product up to the phone instead of the phone to the product.
- Mind the battery. The camera uses power. Keep a charger at the counter for long days.
If one particular product never scans, look at the barcode. Damaged, wrinkled or very small codes, and codes printed in low-contrast colours (light blue on silver, for example), are hard for any scanner. Add that product to your best-seller tiles or give it an in-store label.
Products with no barcode
Every shop has some: loose grains, fresh items, local snacks, repacked goods, hardware pieces. You have three options:
- Generate an in-store barcode. On Premium and above, OCRPos creates a valid EAN-13 starting with
2, the range GS1 reserves for in-store use, and prints price labels on your thermal printer or an A4 sheet of 24 stickers. Our price labels and barcodes guide covers this step by step. - Use the best-sellers tiles. Your top items show first on the sell screen, so frequently sold unbarcoded items are one tap away.
- Quick custom amount. For a one-off item that is not in your stock, add the amount directly to the bill.
Adding stock quickly with the camera
Scanning is just as useful when you add products. Scan the barcode to fill the code field, then use the label scanner to read the product name off the pack; OCRPos shows the best match plus suggestions to tap, so you rarely type a name. For food and medicine, scan the batch number and expiry date from the printed stamp too. Our expiry tracking guide explains why that pays off.
When a hardware scanner still makes sense
A phone camera is the right choice for most kirana shops, medical stores and small supermarkets. A dedicated scanner is worth considering if a single counter bills very long baskets all day, or if you want the phone fixed in one place while products move. OCRPos is designed around the camera, so try it on your busiest hour before buying extra hardware.
Quick checklist
- Even overhead light, no glare on the counter.
- Phone on a stand, lens wiped every morning.
- Codes held 10–20 cm away, bars horizontal.
- Fast movers without barcodes labelled or on tiles.
- Batch and expiry captured when stock arrives.
All scanning, including barcode, label, batch and expiry, is included on the free plan. See pricing for what the paid plans add.
FAQ
Common questions
Is a phone camera as fast as a barcode gun?
For a small or medium counter, yes in practice. A hand-held laser scanner is a little quicker on very long bills, but a phone camera reads most clear EAN and UPC codes almost instantly once you hold it at the right distance, and you save the cost of the hardware.
Which barcodes can OCRPos scan?
EAN-13, EAN-8, UPC, Code 128, Code 39, QR, DataMatrix and more, using Google ML Kit on the phone. It also reads product names from labels and batch and expiry details from printed text.
Does scanning work without internet?
Yes. Barcode and label scanning run on the device and camera images are never uploaded, so the counter keeps working with no signal.
What if a product has no barcode?
Generate an in-store EAN-13 barcode (starting with 2) for it on Premium and print a label, or add it from the best-sellers tiles or search. You can also use a quick custom amount for one-off items.