You need to sign in or sign up before continuing.
Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Unreal OpenCV Plugin
* This an Unreal OpenCV Plugin written by Jasonlin1198
* Utilizes the OpenCV and ZBar Libraries.
* Much of this documentation has been adapted and updated from Jasonlin1198's original README from https://github.com/Jasonlin1198/OpenCV-ZBar-Unreal-Plugin.git .
# Table of Contents
- [Installation](#installation)
- [How to use](#how-to-use)
- [Setup](#setup)
- [How it works](#how-it-works)
- [Troubleshooting](#troubleshooting)
- [Resources](#resources)
## Installation
Note: As of now this project is part of the ARNOC-Alpha project, so the full repository must be installed.
1. Download and install the ARNOC-Alpha project.
2. Download the Plugin repository locally through a `.zip` file or using `git clone https://github.com/Jasonlin1198/OpenCV-ZBar-Unreal-Plugin.git`.
3. Install OpenCV from the official website [here.](https://opencv.org/releases/) The version that will be used is `OpenCV – 4.5.2`. Download the `opencv-4.5.2-vc14_vc15.exe` Windows executable and run to extract to a desired file path.
Note: If using a difference OpenCV version, change the include paths in the `OpenCV-ZBar-Unreal-Plugin/Source/ThirdParty/OpenCVLibrary/OpenCVLibrary.Build.cs` file.
4. Git clone `ZBarWin64` from this repository [here.](https://github.com/dani4/ZBarWin64)
Copy the contents of the OpenCV directory into the plugin's `Source/ThirdParty/OpenCVLibrary` directory.
Copy the `lib/`, `include/`, and `zbar/` directories of the ZBarWin64 repository into the plugin's `Source/ThirdParty/ZBarLibrary` directory.
The Plugin directory should now look something like this:
```
|--Source
|--ThirdParty
|-- OpenCVLibrary/
|-- build/
|-- sources/
|-- OpenCVLibrary.Build.cs
|-- ZBarLibrary/
|-- include/
|-- lib/
|-- zbar/
|-- ZBarLibrary.Build.cs
```
5. Copy the modified plugin into the `Plugins/` directory of an Unreal Engine game and rename the `OpenCV-ZBar-Unreal-Plugin` directory to `OpenCV`.
6. Copy all of the .dll files from `ARNoc-Alpha/Plugins/OpenCV/Source/ThirdParty/OpenCVLibrary/build/x64/vc15/bin`, `ARNoc-Alpha/Plugins/OpenCV/Source/ThirdParty/ZBarLibrary/lib`, and `ARNoc-Alpha/Plugins/OpenCV/Source/ThirdParty/ZBarLibrary/zbar/libiconv/dll_x64` directories to the `ARNoc-Alpha/Binaries/Win64` directory.
You are now ready to begin modifying the plugin's source code and utilize the created blueprints!
## How to Use
### Setup
## Troubleshooting
## Resources