Instagram Tagging COVID-19 Alert on the Posts [Filtering]

Image for post
Image for post

As it is really sad to see how we all are dealing/passing through such hardships as Covid taking over the world, it is also really motivational to see new innovations of different technologies in this field.

One of which I have noticed recently while surfing Instagram was that on stories and posts containing any word related to the Covid, COVID, COVID-19, COVID 19, etc. Instagram could automatically detect them and put a link to the current situation going on with the Covid news. It did really attract my attention, and I was on my way to code such innovative and at the same time really interesting experience on my own. Below, I have shared my way for that.

I am already a bit experienced in the Computer Vision as I have been a part of a few CV included projects, and developed a few models myself. However, for such simple task, I did not really require and was in need of putting that much of effort just to detect a few words in the images, which actually Teserract — a simple CV library developed by Google — came to the help.

Image for post
Image for post

Teserract is very simple, however, very powerful and accurate enough library including OCR model in itself. Enough talk, check out the code and the process that I have been for the past few hours through the link below:

https://github.com/woosal1337/COVID19-FilterDetection-Posts

Reference:

https://about.instagram.com/blog/announcements/coronavirus-keeping-people-safe-informed-and-supported-on-instagram

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store