This question has nothing to do with kivy.
I would recommend only use one environment for the app (Do it all in Python, or do it all in objective-C) . There are a number of restrictions on IOS that will make using the 2 environments together challenging.
If you want to embed python in your app read: https://docs.python.org/3/extending/embedding.html#embedding-python-in-another-application
Your use case is not the typical use case for embedding python. Python is often embedded to provide a scripting language for an application. Blender, for example, uses python as it’s scripting language.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/3ffecbe6-8326-4103-b538-13f0be8bf1fdn%40googlegroups.com.
I understand. My recommendation is you convert your objective-c code to python/kivy do your image processing in python and build your app.
I don’t see a clean way to combine these multiple environments (objective + Python) given the limitations of IOS.
In a desktop OS, you could create a sperate process (one running python for example) and call into that process from another language. I do not believe this kind of capability is available under IOS.
Additionally, the tools for packaging kivy/python apps for IOS and Android are complex and designed for packaging a python app into an executable for the target environment. They are not designed to take a python program and create an object you can call from objective-c.
You need to decide the most resource effective way to get to your desired end goal.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/20993a75-9cc5-4aeb-ad27-bd8b4235d4c2n%40googlegroups.com.