Search Unity

Find appropriate camera-projector coordinates to project contours of real objects

Discussion in 'Formats & External Tools' started by Totoro205, Jun 1, 2018.

  1. Totoro205

    Totoro205

    Joined:
    Dec 12, 2017
    Posts:
    18
    I am developping a game (unity3d + opencv for image processing) where i detect real-life objects from the webcam on every frame, find their edges and then draw them on the real objects. I need to find the real-world coordinates in order to place my camera and projector in a way to get edges that align with their respective objects. I looked into camera calibration which returns the camera's intrinsics, extrinsics, and lens distortion parameters but i don't know how to use them in my case or how to integrate them in unity. Is there a possible way to calculate these positions and angles?