Thanks for the response @Pablito !
i had tried both these options and restarted everything before posting my query here. Is there any other work around to tackle this?
Alternatively i tried using Computer vision. How ever i ended up posting a query for that as well as it could not reach the servers.