# \#opencv

**URL:** https://forums.unrealengine.com/tag/opencv/2978.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Gesture-based animations on real time](https://forums.unrealengine.com/t/gesture-based-animations-on-real-time/2600795)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://forums.unrealengine.com/u/JoseBri93)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 9:42am UTC](https://forums.unrealengine.com/t/gesture-based-animations-on-real-time/2600795 "2025-09-13T09:42:44Z")

</div>

Hello guys, I’d like to share a wip of a gesture-based system I’m working on using Mediapipe + OpenCV + UE5 to dynamically control a character’s behavior via gesture rules and physical movement on real time. Tools I’m re…

---

## [Using Unreal Engine 5.0.3 or 5.1.0 built-in OpenCV plugin](https://forums.unrealengine.com/t/using-unreal-engine-5-0-3-or-5-1-0-built-in-opencv-plugin/744951)

<div class="topic-metadata">

**Author:** [@MatthewDZane](https://forums.unrealengine.com/u/MatthewDZane)\
**Replies:** 8\
**Last updated:** [November 7, 2024, 7:35am UTC](https://forums.unrealengine.com/t/using-unreal-engine-5-0-3-or-5-1-0-built-in-opencv-plugin/744951 "2024-11-07T07:35:01Z")

</div>

I’m trying to use the built-in OpenCV plugin for Unreal Engine 5.0.3 or 5.1.0. I added the plugin to the project level build file, like so: PublicDependencyModuleNames.AddRange(new string\[\] { “Core”, “CoreUObject”, …

---

## [Does the OpenCV included with UE5 come with JPEG compatibility?](https://forums.unrealengine.com/t/does-the-opencv-included-with-ue5-come-with-jpeg-compatibility/1498336)

<div class="topic-metadata">

**Author:** [@Sploul](https://forums.unrealengine.com/u/Sploul)\
**Replies:** 1\
**Last updated:** [October 25, 2024, 7:12am UTC](https://forums.unrealengine.com/t/does-the-opencv-included-with-ue5-come-with-jpeg-compatibility/1498336 "2024-10-25T07:12:18Z")

</div>

Hi there, I’ve tried to use OpenCV’s imwrite method to save a capture of the scene. When I use BMP, PNG or EXR (with some more steps), no issue, the file is saved. However, JPEG gives me an OpenCV error: error: (-2:Un…

---

## [OpenCV + Android + UE4.21](https://forums.unrealengine.com/t/opencv-android-ue4-21/452158)

<div class="topic-metadata">

**Author:** [@CraftyWeazel](https://forums.unrealengine.com/u/CraftyWeazel)\
**Replies:** 3\
**Last updated:** [October 16, 2024, 8:13am UTC](https://forums.unrealengine.com/t/opencv-android-ue4-21/452158 "2024-10-16T08:13:04Z")

</div>

Hi, I’m having a lot of trouble trying to package an Android app including OpenCV with UE4.21. I successfully included OpenCV files for Windows 64 and I used it for an in-editor function. But when it comes to Android… …

---

## [Packaging project on Android using OpenCV plugin on Unreal 5.3.2](https://forums.unrealengine.com/t/packaging-project-on-android-using-opencv-plugin-on-unreal-5-3-2/1987673)

<div class="topic-metadata">

**Author:** [@mcombalbert](https://forums.unrealengine.com/u/mcombalbert)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 7:25am UTC](https://forums.unrealengine.com/t/packaging-project-on-android-using-opencv-plugin-on-unreal-5-3-2/1987673 "2024-10-16T07:25:17Z")

</div>

Hello, I am doing a project using the OpenCV plugin, It works well on windows but when I try to package it for Android or run it on my Android phone I get this error: Missing precompiled manifest for 'OpenCVHelper' , '…

---

## [OpenCV Plugin - VideoCapture with MJPG Format outputs only noise](https://forums.unrealengine.com/t/opencv-plugin-videocapture-with-mjpg-format-outputs-only-noise/734684)

<div class="topic-metadata">

**Author:** [@Elias\_x\_1](https://forums.unrealengine.com/u/Elias_x_1)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 7:48am UTC](https://forums.unrealengine.com/t/opencv-plugin-videocapture-with-mjpg-format-outputs-only-noise/734684 "2024-09-25T07:48:46Z")

</div>

When using the OpenCV plugin for Unreal Engine and setting the video codec for the webcam to MJPG, the image recieved from opencv looks like gibberish: When doing the same thing with just c++, outside of unreal engin…

---

## [Texture2D to cv::Mat conversion](https://forums.unrealengine.com/t/texture2d-to-cv-mat-conversion/1577954)

<div class="topic-metadata">

**Author:** [@supermtf20](https://forums.unrealengine.com/u/supermtf20)\
**Replies:** 1\
**Last updated:** [February 11, 2024, 7:05am UTC](https://forums.unrealengine.com/t/texture2d-to-cv-mat-conversion/1577954 "2024-02-11T07:05:29Z")

</div>

Hi everybody, I had some C++ code that integrated OpenCV and it worked great in UE4. I tried to port that to UE5, but it keeps crashing whenever I try to initialize an OpenCV CV::Mat. Here is a tiny snippet that I use f…

---

## [Copy render frame (DirectX12) to opencv](https://forums.unrealengine.com/t/copy-render-frame-directx12-to-opencv/1387467)

<div class="topic-metadata">

**Author:** [@romain.crespel](https://forums.unrealengine.com/u/romain.crespel)\
**Replies:** 0\
**Last updated:** [November 13, 2023, 3:55pm UTC](https://forums.unrealengine.com/t/copy-render-frame-directx12-to-opencv/1387467 "2023-11-13T15:55:25Z")

</div>

Hello, I would like to copy the render frame to en openCV GpuMat. GpuMat use cuda so I’ve decided first to copy the render frame to cuda. I retrieve the render frame using OnBackBufferReadyToPresent delegate In the d…

---

## [Integrating OpenCV, Python and UE4](https://forums.unrealengine.com/t/integrating-opencv-python-and-ue4/756713)

<div class="topic-metadata">

**Author:** [@Usamigi](https://forums.unrealengine.com/u/Usamigi)\
**Replies:** 0\
**Last updated:** [January 25, 2023, 3:20pm UTC](https://forums.unrealengine.com/t/integrating-opencv-python-and-ue4/756713 "2023-01-25T15:20:51Z")

</div>

I’ve been working on a project and I wished to include a feature that allows players to upload an image to the system and do facial landmark detection for the image. But I am stuck at integrating these software and I wat…

---

## [How do I implement OpenCVLensDistortion in UnrealEngine in c++?](https://forums.unrealengine.com/t/how-do-i-implement-opencvlensdistortion-in-unrealengine-in-c/741700)

<div class="topic-metadata">

**Author:** [@Alessia\_sox](https://forums.unrealengine.com/u/Alessia_sox)\
**Replies:** 0\
**Last updated:** [January 4, 2023, 5:26am UTC](https://forums.unrealengine.com/t/how-do-i-implement-opencvlensdistortion-in-unrealengine-in-c/741700 "2023-01-04T05:26:53Z")

</div>

I want to write a script to implement the camera model with the distortion coefficients and it seems I could use the Open Cv Lens Distortion plugin. But I want it to be applied to the scenes I have in my simulation and I…

---

## [Efficient conversion from video Media source to OpenCV::mat](https://forums.unrealengine.com/t/efficient-conversion-from-video-media-source-to-opencv-mat/484238)

<div class="topic-metadata">

**Author:** [@sharpshot124](https://forums.unrealengine.com/u/sharpshot124)\
**Replies:** 1\
**Last updated:** [October 3, 2022, 3:06pm UTC](https://forums.unrealengine.com/t/efficient-conversion-from-video-media-source-to-opencv-mat/484238 "2022-10-03T15:06:28Z")

</div>

Hello, myself and a few others are developing a developer toolset to be used for video and recording. We are using OpenCV to accomplish a variety of tasks. The issue which is giving us the most trouble is the sharing of …

---

## [OpenCVプラグインのライブラリを利用したい](https://forums.unrealengine.com/t/opencv/658310)

<div class="topic-metadata">

**Author:** [@kushami](https://forums.unrealengine.com/u/kushami)\
**Replies:** 0\
**Last updated:** [September 28, 2022, 2:18pm UTC](https://forums.unrealengine.com/t/opencv/658310 "2022-09-28T14:18:39Z")

</div>

UE5からOpenCVのプラグインが追加されましたので機能を使っていろいろと試してみたいです。しかしどこを探しても使い方についての説明が見当たらないです。 自分でいろいろと調べてみても、使いたい機能がOpenCVBlueprintFunctionLibraryに入っておらず、直接OpenCVのライブラリから関数などを持ってきて使いたいです。 C++クラスでプラグインの機能を使うためにはヘッダなどをどう設定すればいいのでしょうか？ …

---

## [My Unreal Project has triggered a breakpoint and causing heap corruptions when implementing OpenCV in Custom C++ Class](https://forums.unrealengine.com/t/my-unreal-project-has-triggered-a-breakpoint-and-causing-heap-corruptions-when-implementing-opencv-in-custom-c-class/461256)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_871faa22](https://forums.unrealengine.com/u/anonymous_user_871faa22)\
**Replies:** 1\
**Last updated:** [June 8, 2022, 1:33am UTC](https://forums.unrealengine.com/t/my-unreal-project-has-triggered-a-breakpoint-and-causing-heap-corruptions-when-implementing-opencv-in-custom-c-class/461256 "2022-06-08T01:33:36Z")

</div>

I’m trying to implement OpenCV (Face Module in specific) into my UE4 Project. But it always have been crushed when I use facemark::loadModel() while building UE Custom C++ Class. I’ve already tested the code in another…

---

## [How to Feed Images into Open CV Lens Distortion Calibrator](https://forums.unrealengine.com/t/how-to-feed-images-into-open-cv-lens-distortion-calibrator/488264)

<div class="topic-metadata">

**Author:** [@Hex21189](https://forums.unrealengine.com/u/Hex21189)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 7:37am UTC](https://forums.unrealengine.com/t/how-to-feed-images-into-open-cv-lens-distortion-calibrator/488264 "2021-09-01T07:37:00Z")

</div>

Hello, I’m currently trying to use the OpenCv Lens Distortion plugin that comes installed by default with the Virtual Production example in Unreal 4.27 to try and create a camera undistortion texture for my camera. So fa…

---

## [OpenCV LensDistortionの使い方](https://forums.unrealengine.com/t/opencv-lensdistortion/476208)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c17aad921](https://forums.unrealengine.com/u/anonymous_user_c17aad921)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 7:14am UTC](https://forums.unrealengine.com/t/opencv-lensdistortion/476208 "2021-02-15T07:14:11Z")

</div>

UE4初心者です。 現在、自分の所有する魚眼カメラをUE4内でシミュレーションしようとしています。 魚眼カメラのモデルが公式ではサポートされていないようなので自作することを考えています。 OpenCV LensDistortionというプラグインを使用すれば、自作でカメラパラメータを設定して魚眼カメラを作ることができると考えているのですが、カメラの画面を表示することができません。 カメラアクタ内で以下のように設定しているのですが…

---

## [How to use OpenCV LensDistortion Plugin?](https://forums.unrealengine.com/t/how-to-use-opencv-lensdistortion-plugin/476209)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c17aad921](https://forums.unrealengine.com/u/anonymous_user_c17aad921)\
**Replies:** 3\
**Last updated:** [January 11, 2021, 4:31am UTC](https://forums.unrealengine.com/t/how-to-use-opencv-lensdistortion-plugin/476209 "2021-01-11T04:31:44Z")

</div>

I am beginner to UE4. I’m currently trying to simulate my own fisheye camera within UE4. I’m thinking of creating my own fisheye camera model since it doesn’t seem to be officially supported. I’m thinking that I can us…

---

## [How to get image/video from any camera to process it in real time with OpenCV?](https://forums.unrealengine.com/t/how-to-get-image-video-from-any-camera-to-process-it-in-real-time-with-opencv/453749)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_34764648](https://forums.unrealengine.com/u/anonymous_user_34764648)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 9:54pm UTC](https://forums.unrealengine.com/t/how-to-get-image-video-from-any-camera-to-process-it-in-real-time-with-opencv/453749 "2020-06-10T21:54:06Z")

</div>

I have an actor with two SceneCapture2D cameras. Ive made render targets out of them but couldnt find any possible way of saving or getting access to them in real-time. The question is: What are the possible variants of…

---

## [opencv with tbb](https://forums.unrealengine.com/t/opencv-with-tbb/464481)

<div class="topic-metadata">

**Author:** [@Peleg.Lila](https://forums.unrealengine.com/u/Peleg.Lila)\
**Replies:** 0\
**Last updated:** [April 30, 2020, 3:13pm UTC](https://forums.unrealengine.com/t/opencv-with-tbb/464481 "2020-04-30T15:13:28Z")

</div>

Hi, I’m linking my game with opencv dlls, which I built with tbb, meaning that they depend on having the tbb.dll corresponding to the tbb.lib that I linked against. I used the latest release of tbb. I noticed that my …

---

## [How to add a Child Actor Component based on a blueprint that references scripts with relative paths?](https://forums.unrealengine.com/t/how-to-add-a-child-actor-component-based-on-a-blueprint-that-references-scripts-with-relative-paths/454856)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5f8c82d81](https://forums.unrealengine.com/u/anonymous_user_5f8c82d81)\
**Replies:** 1\
**Last updated:** [September 5, 2019, 12:09pm UTC](https://forums.unrealengine.com/t/how-to-add-a-child-actor-component-based-on-a-blueprint-that-references-scripts-with-relative-paths/454856 "2019-09-05T12:09:27Z")

</div>

Let’s say I have an Avatar blueprint and a few body parts blueprints, like Head, Leg, Arm, etc. To add the body parts to the Avatar blueprint, I can simply open view port of the Avatar blueprint, then drag the body parts…

---

## [Can you link Unreal Engine with libraries built with RTTI on Linux?](https://forums.unrealengine.com/t/can-you-link-unreal-engine-with-libraries-built-with-rtti-on-linux/442791)

<div class="topic-metadata">

**Author:** [@mister-liss](https://forums.unrealengine.com/u/mister-liss)\
**Replies:** 4\
**Last updated:** [August 19, 2019, 4:05am UTC](https://forums.unrealengine.com/t/can-you-link-unreal-engine-with-libraries-built-with-rtti-on-linux/442791 "2019-08-19T04:05:07Z")

</div>

Unreal Engine has a plugin for integrating with OpenCV. Currently that plugin works on Windows. I’m trying to modify this plugin to work on Linux. I’ve worked through many issues but I have one I can’t resolve. When I t…

---

## [Can I apply openCV filters on ARkit camera?](https://forums.unrealengine.com/t/can-i-apply-opencv-filters-on-arkit-camera/453184)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_335986a2](https://forums.unrealengine.com/u/anonymous_user_335986a2)\
**Replies:** 0\
**Last updated:** [August 1, 2019, 2:22pm UTC](https://forums.unrealengine.com/t/can-i-apply-opencv-filters-on-arkit-camera/453184 "2019-08-01T14:22:05Z")

</div>

Basically I want to do corner detection in Arkit using opencv. I did find a way to do it in webcam but how can I get Arkit camera buffer ? can I access Arcamera Image buffer ? Any help will be appreciated. Thanks

---

## [How to make references to /Engine/Source/ThirdParty from my project](https://forums.unrealengine.com/t/how-to-make-references-to-engine-source-thirdparty-from-my-project/388216)

<div class="topic-metadata">

**Author:** [@Ciri\_up](https://forums.unrealengine.com/u/Ciri_up)\
**Replies:** 1\
**Last updated:** [July 14, 2019, 9:20am UTC](https://forums.unrealengine.com/t/how-to-make-references-to-engine-source-thirdparty-from-my-project/388216 "2019-07-14T09:20:17Z")

</div>

Hi everyone. I’m a bit new to programming in UE4. I’m working on a project which involves the use of OpenCV on Android platforms. This is the problem: I created a module on Engine/Source/ThirdParty for OpenCV and I have …

---

## [Crash when set OpenCV resolution](https://forums.unrealengine.com/t/crash-when-set-opencv-resolution/429591)

<div class="topic-metadata">

**Author:** [@WiHilliman](https://forums.unrealengine.com/u/WiHilliman)\
**Replies:** 0\
**Last updated:** [July 17, 2018, 10:29am UTC](https://forums.unrealengine.com/t/crash-when-set-opencv-resolution/429591 "2018-07-17T10:29:05Z")

</div>

I create a vs project use OpenCV to call a camera followed this link:A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums ,but when I modify the resize deminsions and run the UE ,It just cra…

---

## [Pipe Camera Render to OpenCV?](https://forums.unrealengine.com/t/pipe-camera-render-to-opencv/353384)

<div class="topic-metadata">

**Author:** [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Replies:** 3\
**Last updated:** [March 1, 2018, 6:55pm UTC](https://forums.unrealengine.com/t/pipe-camera-render-to-opencv/353384 "2018-03-01T18:55:35Z")

</div>

I have OpenCV in my Unreal project and know how to read data like a webcam’s, but does anybody know how to render the camera to a cv::Mat or otherwise analyse the camera’s render with OpenCV?

---

## [Google Motion Stills for Augmented Reality](https://forums.unrealengine.com/t/google-motion-stills-for-augmented-reality/416842)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0dafa81b](https://forums.unrealengine.com/u/anonymous_user_0dafa81b)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 10:53am UTC](https://forums.unrealengine.com/t/google-motion-stills-for-augmented-reality/416842 "2018-02-09T10:53:48Z")

</div>

Is it possible to use Google Motion Stills for Augmented Reality instead of ARCore ? How can I integrate it with unreal engine?

---

## [OpenCV compatible definition of int64](https://forums.unrealengine.com/t/opencv-compatible-definition-of-int64/377934)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9cbdaf9](https://forums.unrealengine.com/u/anonymous_user_f9cbdaf9)\
**Replies:** 1\
**Last updated:** [January 19, 2018, 4:50pm UTC](https://forums.unrealengine.com/t/opencv-compatible-definition-of-int64/377934 "2018-01-19T16:50:09Z")

</div>

Unreal engine defines the global types int64 and uint64, which are signed long long and unsigned long long respectively. So asides from the perplexing comment in the API documentation (“32-bit signed”??) this causes pro…

---

## [Errors while linking to opencv](https://forums.unrealengine.com/t/errors-while-linking-to-opencv/414622)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e88bfa5b](https://forums.unrealengine.com/u/anonymous_user_e88bfa5b)\
**Replies:** 0\
**Last updated:** [January 15, 2018, 4:31pm UTC](https://forums.unrealengine.com/t/errors-while-linking-to-opencv/414622 "2018-01-15T16:31:56Z")

</div>

Hello everybody! I successfully linked OpenCV 3.1 with visual studio 2015, and also linked unreal with visual studio 2015,but unreal engine can not recognize the opencv library. I followed that tutorial A new, community-…

---

## [Use OpenCV in UE4 in Linux](https://forums.unrealengine.com/t/use-opencv-in-ue4-in-linux/410136)

<div class="topic-metadata">

**Author:** [@RDaneelOlivaw](https://forums.unrealengine.com/u/RDaneelOlivaw)\
**Replies:** 0\
**Last updated:** [November 20, 2017, 6:25pm UTC](https://forums.unrealengine.com/t/use-opencv-in-ue4-in-linux/410136 "2017-11-20T18:25:11Z")

</div>

Hi, I’ve seen a great tutorial for using OpenCV in UE4, but its using .dll files for windows. Is there any way to do the same thing for Linux Ubuntu systems? What will it have to be done differently to make this work? …

---

## [how to use a non uobject array in a uobject class without getting memory problems.](https://forums.unrealengine.com/t/how-to-use-a-non-uobject-array-in-a-uobject-class-without-getting-memory-problems/387336)

<div class="topic-metadata">

**Author:** [@Zzebodiah](https://forums.unrealengine.com/u/Zzebodiah)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 6:49pm UTC](https://forums.unrealengine.com/t/how-to-use-a-non-uobject-array-in-a-uobject-class-without-getting-memory-problems/387336 "2017-03-08T18:49:31Z")

</div>

I am using an external library (opencv with contrib) and obviously it doesn’t take in UObjects. My cpp contains the following in the tick function: std::vector \< int \> ids; std::vector \< int \> idsR; …

---

## [Releasing a Blueprint](https://forums.unrealengine.com/t/releasing-a-blueprint/379294)

<div class="topic-metadata">

**Author:** [@Kvothe218](https://forums.unrealengine.com/u/Kvothe218)\
**Replies:** 1\
**Last updated:** [December 14, 2016, 7:24pm UTC](https://forums.unrealengine.com/t/releasing-a-blueprint/379294 "2016-12-14T19:24:29Z")

</div>

Hello, I am looking to release a blueprint I developed in Unreal onto the Marketplace, but have one problem: the blueprint requires the free OpenCV Library in order to work. Should I just leave the library in the submi…

[Next page](https://forums.unrealengine.com/tag/opencv/2978.md?match_all_tags=true&page=1&tags%5B%5D=opencv)
