Search Unity

ml-agents python communication

Discussion in 'ML-Agents' started by Nickos_Kal, Aug 23, 2021.

  1. Nickos_Kal

    Nickos_Kal

    Joined:
    Jul 16, 2021
    Posts:
    1
    Hello, I have made an py script that can detect facial expression from images and give a percentage of the emotion that the person in the image has. I would like to ask if it is possible to run this .py script through Unity Editor with the help of ml-agents for example when i press play in Unity the .py script detects the facial expression and then sending the results to the agent and through the agent the result is shown to Unity.
    Thanks in advance.
     
  2. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
  3. kasym_

    kasym_

    Joined:
    Oct 18, 2022
    Posts:
    10
    Hello!
    Is there any way I can run python code in unity now?
    I am working on an app that needs some natural language processing. The script I want to use is written in python and uses many python libraries (tensorflow, numpy etc.)

    I really want to know if it is possible to integrate my python code to unity