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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

See external Thermal Camera in Unity as a Texture?

Discussion in 'General Graphics' started by VikPa_, Dec 16, 2019.

  1. VikPa_

    VikPa_

    Joined:
    Nov 7, 2019
    Posts:
    4
    Hello,

    I'm trying to see thermal view from thermal camera (FLIR camera) in Unity. What would be the way?
    Would it works as well as for the webcam in Unity? By sharing the texture in a RawImage?

    Do you have any idea how could I do?
    Thanks!
     
    ina likes this.
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022
    if you can connect it as a webcam, then yes that should work.
    but if you receive the images some other way, through api or raw data port etc, then need to do processing into texture2d yourself.
     
  3. VikPa_

    VikPa_

    Joined:
    Nov 7, 2019
    Posts:
    4
    I get the image via LAN cable, processed by some APi or SDK yes. So there is no way to see the thermal view directly from the camera in Unity?
    the problem is that Im quite beginner in Unity so is not that clear how to process the image into texture2d.

    I was looking at the example of script for webcam into texture2d in the RawImage "canvas", so I was able in unity to have access to the webcam USB or the one built in the pc!

    What do you suggest then?

    The cameras are GigE Vision supplied
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022