According to your definition no program that connects using rest to a webservice is open source. That is absurd.
Open Source is defined by a license, not by what a program does. Also, it's trivial to connect such a program to another image recognition model if anyone wants.