I have an app written in Python with some AI training models thrown in. It allows for the identification of people in images, nothing new.
However the code itself is deployed to client machines rather than online on a server that I control. As Python is an interpreted language the code is exposed for the world to see and edit. This is something I want to avoid as in time the client can just edit or modify the code to his liking (irrespective of any legal documentation we have in place).
I have used pyarmor to obfuscate the code, added elements of contacting the server to check the license is valid etc. However from what I read where there is a will there is a way to make it machine readable.
I cannot rewrite the code in C++ as I am weak on C++ and the code is now significantly large. Is there any known way to secure your python code? Compile it?
From all my readings obfuscation is the only answer or rewrite in C++.
Was hoping that some of the geniuses here would shed some light/experience.
Much appreciated