Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

How can I preprocess mlagents camera image or use different source for the camera?

Discussion in 'ML-Agents' started by TiranianHoward, Sep 21, 2021.

  1. TiranianHoward

    TiranianHoward

    Joined:
    Sep 21, 2021
    Posts:
    4
  2. MrOCW

    MrOCW

    Joined:
    Feb 16, 2021
    Posts:
    51
    hi i asked many similar questions here with no results, but I believe u can explore ISensor. I made mine work by editing the source code on python's receiving end
     
  3. TiranianHoward

    TiranianHoward

    Joined:
    Sep 21, 2021
    Posts:
    4
    hey, thanks for the reply, I could somehow get the image from camera.
    but I am struggling with camera interpolation.
    I made a segmentation map from camera image, but since it is resized to 84x84, all of the segmentation got jumbled. Do you know how to prevent this?
     
  4. AngrySamsquanch

    AngrySamsquanch

    Joined:
    Dec 28, 2014
    Posts:
    24
    Can I ask how you did that? I'm looking to use a live camera feed from my local network.
     
  5. yangpengzhi

    yangpengzhi

    Joined:
    Nov 22, 2021
    Posts:
    15
    May I know how did you obtain the custom visual observation in python? Thank you! @TiranianHoward @MrOCW