openpose_unity_plugin icon indicating copy to clipboard operation
openpose_unity_plugin copied to clipboard

Image Mirrored in Unity

Open Keneyr opened this issue 3 years ago • 1 comments

Why the image is mirrored in Unity like this? image

Keneyr avatar Dec 04 '20 01:12 Keneyr

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.

shaojim12 avatar Dec 31 '20 06:12 shaojim12