CMU-Perceptual-Computing-Lab / openpose_unity_plugin

OpenPose's Unity Plugin for Unity users

Home Page:https://github.com/CMU-Perceptual-Computing-Lab/openpose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Mirrored in Unity

Keneyr opened this issue · comments

Why the image is mirrored in Unity like this?
image

Hi, you can flip the image in the OpenPoseUserScript.
Find the OPWrapper.OPConfigureInput(
/* producerType / inputType, / producerString / producerString,
/
frameFirst / 0, / frameStep / 10, / frameLast / ulong.MaxValue,
/
realTimeProcessing / true, / frameFlip / false,
/
frameRotate / 90, / framesRepeat / false,
/
cameraResolution / new Vector2Int(1920, 1080), / cameraParameterPath / null,
/
undistortImage / false, / numberViews */ -1);

change frameFlip to true or false.