Giter VIP home page Giter VIP logo

opencvforunreal's Introduction

OpenCVForUnreal

how to use face/body recognize and more in unreal engine

Attention

  1. You need to manually download the model yourself, and place it under the directory "OpenCVForUnrealOpenCVForUnrealConfig"
  2. The latest version has modified the HiKVisonActor to OpenCVForUnrealActor , which may have had a slight impact on previous projects.

Description

  1. Currently all compilations are OK on UE5.2,and you should download pre-traning-model from https://github.com/spmallick/learnopencv/tree/master/FaceDetectionComparison/models
  2. UE4 uses the OpenCV library plugin
  3. UE4 Multithreaded FRunnable Usage
  4. UE4 asynchronous calls
  5. Use DNN deep neural network face recognition, gender, age, object detection, etc
  6. Comparison of various face recognition models
  7. Mat image to UE4 UTexture2D picture, Mat picture cropping, etc
  8. Adjust the brightness of the picture, for example, the picture is dark at night, you can adjust it
  9. The Python version is used for separate identification, if UE4 does identification and affects other performance, it can be communicated separately through Python scripts
  10. If you need to use version 4.27, use the tag's version,

中文

  1. 目前已经支持UE5.2,如果需要使用4.27版本,请使用tag版本
  2. UE4使用OpenCV库插件,OpenCV版本已经升级位4.7.0
  3. UE4多线程FRunnable使用
  4. UE4异步调用
  5. 使用DNN深度神经网络人脸识别,性别,年龄,对象检测等
  6. 各种人脸识别模型对比
  7. Mat 图片转UE4的UTexture2D图片Mat图片裁切等
  8. 调整图片亮度,比如晚上图片比较暗,可以调整
  9. Python版本是用做单独识别,如果UE4里面做识别影响其他性能,可以单独通过Python脚本来通信
  10. 需要自己手动下载模型放在目录OpenCVForUnreal\OpenCVForUnreal\Config下面
  11. 最新版本已经将HiKVisonActor修改OpenCVForUnrealActor,这或许对之前项目有一点影响。

最新代码功能请看下面文章链接:

https://zhuanlan.zhihu.com/p/391870538

ShowPerson 2

opencvforunreal's People

Contributors

vegetablewithchicken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opencvforunreal's Issues

打不开工程

在工程中添加了插件,也进行了重新编译且成功了,发现就打不开工程了,删掉插件就可以打开。重新添加插件到Plugins目录就打不开工程,也没有报错,也没有打开工程。
使用的是UE5.0.3

Hi there! UE5.2

Hi!! Thanks for amazing plugin! Using it now with ue4.27! Wonder if you can upgrade it to ue5.2 version? tryes by myself but had such errors with ints

E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): error C2665: "UE::Math::TVector2::TVector2": ни одна перегруженная функция не может преобразовать все типы аргументов
E:\UE_5.2\Engine\Source\Runtime\Core\Public\Math\Vector2D.h(707): note: может быть "UE::Math::TVector2::TVector2(UE::Math::TVector2 &&)"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: "UE::Math::TVector2::TVector2(UE::Math::TVector2 &&)": невозможно преобразовать аргумент 1 из "int" в "UE::Math::TVector2 &&"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: Причина: невозможно преобразовать "int" в "UE::Math::TVector2"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: Конструктор для struct "UE::Math::TVector2" объявлен как "explicit"
E:\UE_5.2\Engine\Source\Runtime\Core\Public\Math\Vector2D.h(707): note: или "UE::Math::TVector2::TVector2(const UE::Math::TVector2 &)"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: "UE::Math::TVector2::TVector2(const UE::Math::TVector2 &)": невозможно преобразовать аргумент 1 из "int" в "const UE::Math::TVector2 &"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: Причина: невозможно преобразовать "int" в "const UE::Math::TVector2"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: Конструктор для struct "UE::Math::TVector2" объявлен как "explicit"
E:\UE_5.2\Engine\Source\Runtime\Core\Public\Math\Vector2D.h(86): note: или "UE::Math::TVector2::TVector2(T,T)"
with
[
T=double
]
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: UE::Math::TVector2::TVector2: функция не принимает 1 аргументов
E:\UE_5.2\Engine\Source\Runtime\Core\Public\Math\Vector2D.h(78): note: или "UE::Math::TVector2::TVector2(void)"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: UE::Math::TVector2::TVector2: функция не принимает 1 аргументов
E:\UE_5.2\Engine\Source\Runtime\Core\Public\Math\Vector2D.h(101): note: или "UE::Math::TVector2::TVector2(UE::Math::TIntPoint)"
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: 'UE::Math::TVector2::TVector2(UE::Math::TIntPoint)': не удалось вывести аргумент шаблон для 'UE::Math::TIntPoint' из 'int'
E:\Tests\wwe\HostProject\Plugins\HiKVision\Source\HiKVision\Public\HiKVisionActor.h(84): note: при попытке сопоставить список аргументов "(int)"

maybe you have any ideas how to fix that? Appreciate any help)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.