We’ll then review code that attempts to extract “candidate” phone numbers from this list of words, discarding non-numbers and attempting to combine number fragments.įinally, we’ll use a Twilio API to perform a check on the candidate phone number to verify if it is actually a real number.Īs these blogs are partly intended to be an exploration into C# coding, we’ll also touch on something called method-chaining which, depending on the context of use, could be a useful way to improve your code. We’ll use the Azure Text Recognition API to process an image and return a collection of words. We’ll achieve this using the following technologies:įrom a high-level, we’re going to perform these steps: You then want to be able to automatically extract a list of phone numbers from that image. Imagine you want to take a photograph of a business card, or maybe a poster you see at a convention, using your cellphone. This will involve connecting together some of these APIs together in a way that could solve the sort of business-requirement that a real-world application could need solving. In this article, we’re going to explore some of these awesome services and have a bit of fun. The big tech companies, like Microsoft and Google, have been giving us cheap access to amazing computing resources to solve problems that, only a decade ago, would have been a serious technical hurdle for regular developers to overcome. SaaS has been transformative in the way that we work and can result in the creation of some very potent software. We’ve witnessed the rise of powerful Software-as-a-Service (SaaS), that can be accessed using nothing more than a simple HTTP API call. The past couple of years have turned out to be really interesting times for developers. Having extracted potential numbers we’ll then attempt to verify that they are valid phone numbers. In this article, we’re going to create a solution that extracts any potential phone numbers that appear in an image file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |