
You go to a shop, purchase an item and want to pay with M-PESA. You look around to find the notice with the till number and take turns looking up and down to enter the number on your phone. More often going over the number one more time or twice if you got it wrong initially. We’ve all been there, especially when you are in a haste.
How will you like a situation where you can just launch the Safaricom, KCB, Equity, I&M or your bank or Sacco’s app and using your camera it gets you that information? You only enter the amount you are paying, your pin number, et voilà you are set to go.
Unfortunately, Safaricom doesn’t have that feature in their app yet. The app, however, allows customers who prefer to use the voucher card to scan the 16 digits and it will automatically pick the digits.
That might change soon with this genius innovation from Jama Mohamed. A Business Information and Technology student graduate of Strathmore University.
Jama created an android detection library that uses Microsoft Azure Computer Vision service Read API to detect M-PESA business account numbers from images.
With this, it will be easier, faster and more accurate than typing an M-PESA paybill and till number. It is also able to know the exact category the image falls under, so no mix match there.

The software engineer’s open source project opens the door for financial service organizations in Kenya using the M-PESA API to add this plug and play android library to their app. Making it easier for customers using their app to use this functionality for payments.
Computer vision innovation
Jama shares the idea for the project came after having to confirm about five times for something he was purchasing.
I was purchasing something from the web that had M-PESA paybill as a payment option. The account number was a long randomly generated string that I basically had to confirm like five times.
And that’s where the idea came from, just to take some form of picture and use machine learning to extract information that was important.
The idea was to get these details a little faster than just typing them all the time since some businesses don’t have QR codes.
Hopefully, Kenyan financial organizations will add Jama Mohamed’s library to their app. Or work with him to create a unique one. So that next time you open your Standard Chartered, KCB, Equity, Ecobank, etc. or Safaricom app to pay for a purchase you just use your camera.
Jama welcomes contributions from other developers to improve the library. Check out the library on GitHub.
Check out other stories making the news across Africa and Middle East region.
- Data Analyst, Microsoft Leap program cohort is launching in Lagos
- ASUS introduces new laptops at CES 2021 Be Ahead event
- TCL announces new 5G mobile, tablet, wearable devices at CES 2021 Experience More event
- World’s first Artificial Intelligence university welcomes first students
- A self-caring planting system controlled by AI, New Garden
- Nigeria FG, Microsoft to make Nigeria’s tech space most viable in Africa
- The “coolest” new computer device, meet Raspberry Pi-powered robotics kit, pi-top [4]
- Blue Prism brings enterprise-grade intelligent robotic process automation to Azure
- This computer vision innovation will make it easy to make M-PESA business payments
- Tech4Dev, Microsoft empower women in Nigeria with tech skills
