diff --git a/.gitignore b/.gitignore index 2244ce63..f3e01c96 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,8 @@ /CMakeFiles/ /Makefile /cmake_install.cmake -/yolo_mark \ No newline at end of file +/yolo_mark +.vs/ +x64/Release/data +x64/Release/data/obj.names +x64/Release/data/*.txt \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..0e40fe8f --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ + +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/Yolo_mark.iml b/.idea/Yolo_mark.iml new file mode 100644 index 00000000..6f63a63c --- /dev/null +++ b/.idea/Yolo_mark.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..105ce2da --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..a2e120dc --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..b94a566a --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 7be25129..044c201c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,102 @@ -# Yolo_mark +## Prerequisites (if you already have OpenCV for Windows and Visual Studio installed, you can jump to [Yolo_mark](#main) to begin) + +You will need to download the following programs in order to use Yolo mark, if you do not already have them: + +#### OpenCV (Download as a ZIP) + +https://github.com/opencv/opencv + +#### CMake + +https://cmake.org/download/ + +#### Microsoft Visual Studio (2017 version 15.9.15 garaunteed to work) + +https://visualstudio.microsoft.com/vs/older-downloads/ + +### Installation (For Windows 10 64-bit) + +1. Extract the opencv-master.zip to your C: or any drive you like, and you can rename the outfolder so the directory is like this `C:/OpenCV4/opencv-master` + +2. Open the CMake GUI + +3. For the "Where is the source code:" field, click **Browse Source...** and add the directory of the OpenCV folder from above. In this example it is `C:/OpenCV4/opencv-master`. + +4. For the "Where to build the binaries:" field, create a folder inside the OpenCV folder called "opencv" and click **Browse Build...** to add it. In this example, it is `C:/OpenCV4/opencv4` + +5. Click **Configure** + - For "Specify the generator for this project", make sure to select your version of Visual Studio. In this example, we are using **Visual Studio 15 2017** + - Under "Optional platform for generator", select **x64**. If you leave it blank, it defaults to Win32 and you will only be able to build Debug/Release in Visual Studio in Win32 and may get `LNK1112 module machine type 'x64' conflicts with target machine type 'x86` build error. + - "Optional toolset to use" can be left blank. + - "Use default native compilers" can be checked. + +6. After configuration is complete you will see a message `Configuring done` in the main GUI window. Find the field name **BUILD_opencv_world** in the main window and tick the box [x] to include it. + +7. Click **Generate** + - You will see a message `Generating done` in the main GUI window when it is complete. + +8. Click **Open Project** + - Visual Studio will open. You will need to find **CMakeTargets** folder in the Solution Explorer to the right. Make sure the Local Windows Debugger is set to **Debug** and **x64** and select the **ALL_BUILD** C++ project, right-click and select **BUILD**. + - If you happen to get an error: + `LNK1104: cannot open file 'python37_d.lib` + - Then you can build the debug version of that library yourself if you do not have the file anywhere on your computer. It's very simple, please refer to this Stack Overflow post where **J.T. Davies** explains how to do it: + https://stackoverflow.com/questions/17028576/using-python-3-3-in-c-python33-d-lib-not-found + - After, set the Local Windows Debugger to **Release** and keep it set to **x64**. Select the **ALL_BUILD** C++ project again, right-click and select **BUILD**. + - Keep the Local Windows Debugger on **Release** and set to **x64**. But this time, select the **INSTALL** C++ project, right-click and select **BUILD**. + - Change the Local Windows Debugger to **Debug** and set to **x64**. Select the **INSTALL** C++ project, right-click and select **BUILD**. + - This will generate all the library, includes, x64, and bin/lib directories all in one space. + - You can close out of Visual Studio. + +9. In Windows search, type `env` to access the Environment Variables. + - In System Properties, under the Advanced tab, click **Environment Variables** + - Below the **System variables** list, click **New** and enter these values for the two fields: + - Variable name: `OPENCV_DIR`. + - Variable value: `C:\OpenCV4\opencv4\install\x64\vc15` + - Click OK + - Still in the **System variables** window, select **Path** and click **Edit**. Add these two directories to the path: + - %OPENCV_DIR%\bin + - %OPENCV_DIR%\lib + - Click OK and you can exit out of the System Properties now. + +9. Test That Install Works + - Creating an empty C++ project (Name it anything you want) + - Right-click on the **Source Files** folder in the **Solution Explorer** to the right and add a **New Item** -> **C++ File (.cpp)** (sny name is fine) + - Copy and paste the code below into the Source.cpp you just added: + ``` + #include "opencv2/core.hpp" + #include "opencv2/highgui.hpp" + + using namespace std; + using namespace cv; + + int main(int argv, char* argc) + { + Mat A; + A = Mat::zeros(100, 100, CV_8U); + namedWindow("x", WINDOW_AUTOSIZE); + imshow("x", A); + waitKey(0); + return 0; + } + + - Click on **View** -> **Other Windows** -> **Property Manager**. + - A left sidebar will appear with **Debug | Win32**, **Debug | x64**, **Release | Win32**, and **Release | x64** options. + - **Make sure the Local Windows Debugger is set to Debug and x64** + - Right-click Debug | x64 in Property Manager window to the left and select **Properties**. + - *Alternatively*, you can find these same C/C++, Linker options by right-clicking your C++ project in the Solution Explorer and selecting **Properties**. + - Under **C/C++** -> **General** -> **Additional Include Directories**, add: + - `C:\OpenCV4\opencv4\install\include`or whatever your install\include location is + - Under **Linker** -> **Additional Library Dependences**, add: + - `C:\OpenCV4\opencv4\install\x64\vc15\lib` + - Under **Linker** -> **Input** -> **Additional Dependencies**, add: + - `opencv_highgui411d.lib` + - `opencv_core411d.lib` + - Note: If your other projects are requiring other library files, you may need to add them to the **Linker** -> **Input** -> **Additional Dependencies** field manually. These files will have a "d" suffix for debug and are found in `C:\OpenCV4\opencv4\install\x64\vc15\lib` + +Press **CTRL + F5** or the green play button next to Windows Local Debugger and a blank image should be created and be shown on the screen signifing the installation went successfully! :bowtie: +![Installation Complete!](https://github.com/alpizano/Yolo_mark/blob/master/testopencv.png) + +# Yolo_mark **Windows** & **Linux** GUI for marking bounded boxes of objects in images for training Yolo v3 and v2 * To compile on **Windows** open `yolo_mark.sln` in MSVS2013/2015, compile it **x64 & Release** and run the file: `x64/Release/yolo_mark.cmd`. Change paths in `yolo_mark.sln` to the OpenCV 2.x/3.x installed on your computer: diff --git a/testopencv.png b/testopencv.png new file mode 100644 index 00000000..d8e8a00b Binary files /dev/null and b/testopencv.png differ diff --git a/x64/Debug/vc141.idb b/x64/Debug/vc141.idb new file mode 100644 index 00000000..2180a5fe Binary files /dev/null and b/x64/Debug/vc141.idb differ diff --git a/x64/Debug/vc141.pdb b/x64/Debug/vc141.pdb new file mode 100644 index 00000000..30b63299 Binary files /dev/null and b/x64/Debug/vc141.pdb differ diff --git a/x64/Debug/yolo_mark.log b/x64/Debug/yolo_mark.log new file mode 100644 index 00000000..b070454c --- /dev/null +++ b/x64/Debug/yolo_mark.log @@ -0,0 +1,2 @@ + main.cpp +c:\users\username\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(14): fatal error C1083: Cannot open include file: 'opencv2/opencv.hpp': No such file or directory diff --git a/x64/Debug/yolo_mark.tlog/CL.command.1.tlog b/x64/Debug/yolo_mark.tlog/CL.command.1.tlog new file mode 100644 index 00000000..46b134b1 --- /dev/null +++ b/x64/Debug/yolo_mark.tlog/CL.command.1.tlog @@ -0,0 +1 @@ +ÿþ \ No newline at end of file diff --git a/x64/Debug/yolo_mark.tlog/unsuccessfulbuild b/x64/Debug/yolo_mark.tlog/unsuccessfulbuild new file mode 100644 index 00000000..e69de29b diff --git a/x64/Debug/yolo_mark.tlog/yolo_mark.lastbuildstate b/x64/Debug/yolo_mark.tlog/yolo_mark.lastbuildstate new file mode 100644 index 00000000..4b0fbfcb --- /dev/null +++ b/x64/Debug/yolo_mark.tlog/yolo_mark.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0 +Debug|x64|C:\Users\XxaemaeThxX\Desktop\ML-NN-Chao-Sys\Yolo_mark\| diff --git a/x64/Release/data/img/air1.jpg b/x64/Release/data/img/air1.jpg deleted file mode 100644 index 8cc83f42..00000000 Binary files a/x64/Release/data/img/air1.jpg and /dev/null differ diff --git a/x64/Release/data/img/air1.txt b/x64/Release/data/img/air1.txt deleted file mode 100644 index e3a96ead..00000000 --- a/x64/Release/data/img/air1.txt +++ /dev/null @@ -1 +0,0 @@ -0 0.498437 0.479861 0.117188 0.168056 diff --git a/x64/Release/data/img/air2.jpg b/x64/Release/data/img/air2.jpg deleted file mode 100644 index 231a6f8e..00000000 Binary files a/x64/Release/data/img/air2.jpg and /dev/null differ diff --git a/x64/Release/data/img/air2.txt b/x64/Release/data/img/air2.txt deleted file mode 100644 index 1ea565f8..00000000 --- a/x64/Release/data/img/air2.txt +++ /dev/null @@ -1 +0,0 @@ -0 0.602734 0.609028 0.110156 0.181944 diff --git a/x64/Release/data/img/air3.jpg b/x64/Release/data/img/air3.jpg deleted file mode 100644 index eb5e5b49..00000000 Binary files a/x64/Release/data/img/air3.jpg and /dev/null differ diff --git a/x64/Release/data/img/air3.txt b/x64/Release/data/img/air3.txt deleted file mode 100644 index b0d0eabe..00000000 --- a/x64/Release/data/img/air3.txt +++ /dev/null @@ -1 +0,0 @@ -0 0.498828 0.459722 0.152344 0.191667 diff --git a/x64/Release/data/img/air4.jpg b/x64/Release/data/img/air4.jpg deleted file mode 100644 index 3abf362b..00000000 Binary files a/x64/Release/data/img/air4.jpg and /dev/null differ diff --git a/x64/Release/data/img/air4.txt b/x64/Release/data/img/air4.txt deleted file mode 100644 index 8f1fc443..00000000 --- a/x64/Release/data/img/air4.txt +++ /dev/null @@ -1,9 +0,0 @@ -0 0.377734 0.401389 0.132031 0.155556 -0 0.529297 0.211111 0.144531 0.205556 -0 0.641406 0.393750 0.126563 0.143056 -0 0.744531 0.609028 0.148438 0.193056 -0 0.275000 0.642361 0.167187 0.206944 -0 0.526953 0.622917 0.160156 0.184722 -0 0.635156 0.807639 0.126563 0.134722 -0 0.375781 0.857639 0.126563 0.145833 -0 0.531641 0.949306 0.172656 0.101389 diff --git a/x64/Release/data/img/air5.jpg b/x64/Release/data/img/air5.jpg deleted file mode 100644 index 1f210750..00000000 Binary files a/x64/Release/data/img/air5.jpg and /dev/null differ diff --git a/x64/Release/data/img/air5.txt b/x64/Release/data/img/air5.txt deleted file mode 100644 index d4d85049..00000000 --- a/x64/Release/data/img/air5.txt +++ /dev/null @@ -1 +0,0 @@ -0 0.462109 0.513889 0.186719 0.163889 diff --git a/x64/Release/data/img/air6.jpg b/x64/Release/data/img/air6.jpg deleted file mode 100644 index a365ffba..00000000 Binary files a/x64/Release/data/img/air6.jpg and /dev/null differ diff --git a/x64/Release/data/img/air6.txt b/x64/Release/data/img/air6.txt deleted file mode 100644 index 6645ee4e..00000000 --- a/x64/Release/data/img/air6.txt +++ /dev/null @@ -1,15 +0,0 @@ -0 0.140234 0.091667 0.244531 0.127778 -0 0.458594 0.102083 0.295312 0.115278 -0 0.792578 0.118750 0.272656 0.193056 -0 0.186328 0.302083 0.307031 0.154167 -0 0.498047 0.272222 0.261719 0.119444 -0 0.812500 0.316667 0.323438 0.158333 -0 0.203125 0.502778 0.367188 0.172222 -0 0.521094 0.487500 0.207813 0.255556 -0 0.798047 0.497222 0.303906 0.155556 -0 0.157031 0.714583 0.264062 0.140278 -0 0.480469 0.693056 0.321875 0.155556 -0 0.816406 0.688889 0.318750 0.133333 -0 0.182812 0.879167 0.314063 0.125000 -0 0.520312 0.882639 0.340625 0.181944 -0 0.832812 0.861111 0.260938 0.141667 diff --git a/x64/Release/data/img/bird1.jpg b/x64/Release/data/img/bird1.jpg deleted file mode 100644 index 38d86b40..00000000 Binary files a/x64/Release/data/img/bird1.jpg and /dev/null differ diff --git a/x64/Release/data/img/bird1.txt b/x64/Release/data/img/bird1.txt deleted file mode 100644 index c56538df..00000000 --- a/x64/Release/data/img/bird1.txt +++ /dev/null @@ -1 +0,0 @@ -1 0.657812 0.411806 0.189063 0.223611 diff --git a/x64/Release/data/img/bird2.jpg b/x64/Release/data/img/bird2.jpg deleted file mode 100644 index 0685783b..00000000 Binary files a/x64/Release/data/img/bird2.jpg and /dev/null differ diff --git a/x64/Release/data/img/bird2.txt b/x64/Release/data/img/bird2.txt deleted file mode 100644 index e08d6caf..00000000 --- a/x64/Release/data/img/bird2.txt +++ /dev/null @@ -1,2 +0,0 @@ -1 0.552344 0.384028 0.159375 0.195833 -1 0.780078 0.595833 0.236719 0.133333 diff --git a/x64/Release/data/img/bird3.jpg b/x64/Release/data/img/bird3.jpg deleted file mode 100644 index d0115791..00000000 Binary files a/x64/Release/data/img/bird3.jpg and /dev/null differ diff --git a/x64/Release/data/img/bird3.txt b/x64/Release/data/img/bird3.txt deleted file mode 100644 index 05eb5c58..00000000 --- a/x64/Release/data/img/bird3.txt +++ /dev/null @@ -1,3 +0,0 @@ -1 0.508594 0.282639 0.107813 0.151389 -1 0.521875 0.470833 0.081250 0.100000 -1 0.527344 0.709722 0.162500 0.133333 diff --git a/x64/Release/data/img/bird4.jpg b/x64/Release/data/img/bird4.jpg deleted file mode 100644 index f543ab5a..00000000 Binary files a/x64/Release/data/img/bird4.jpg and /dev/null differ diff --git a/x64/Release/data/img/bird4.txt b/x64/Release/data/img/bird4.txt deleted file mode 100644 index 3db7190b..00000000 --- a/x64/Release/data/img/bird4.txt +++ /dev/null @@ -1 +0,0 @@ -1 0.526953 0.502083 0.303906 0.226389 diff --git a/x64/Release/data/obj.names b/x64/Release/data/obj.names index bfe8c644..f13f35f4 100644 --- a/x64/Release/data/obj.names +++ b/x64/Release/data/obj.names @@ -1,2 +1,3 @@ -air -bird \ No newline at end of file +roulette ball +single zero +roulette wheel \ No newline at end of file diff --git a/x64/Release/data/train.txt b/x64/Release/data/train.txt index a5df5034..65161740 100644 --- a/x64/Release/data/train.txt +++ b/x64/Release/data/train.txt @@ -1,11 +1 @@ -data/img/air1.jpg -data/img/air2.jpg -data/img/air3.jpg -data/img/air4.jpg -data/img/air5.jpg -data/img/air6.jpg -data/img/air7.jpg -data/img/bird1.jpg -data/img/bird2.jpg -data/img/bird3.jpg -data/img/bird4.jpg +data/img/037_frame640.jpg diff --git a/x64/Release/label_generator.py b/x64/Release/label_generator.py new file mode 100644 index 00000000..1cda43a5 --- /dev/null +++ b/x64/Release/label_generator.py @@ -0,0 +1,13 @@ +import glob +import os + +f = open("data/test.txt", "a+") +f2 = open("data/train.txt", "a+") + +for files in glob.glob("data/test/*.jpg"): + #print(files) + f.write("%s\n" % files.strip().replace("test\\", "images/")) + +for files in glob.glob("data/img/*.jpg"): + #print(files) + f2.write("%s\n" % files.strip().replace("\\", "/")) diff --git a/x64/Release/main.obj b/x64/Release/main.obj new file mode 100644 index 00000000..fa00cfeb Binary files /dev/null and b/x64/Release/main.obj differ diff --git a/x64/Release/test_set_generator.py b/x64/Release/test_set_generator.py new file mode 100644 index 00000000..3cce6397 --- /dev/null +++ b/x64/Release/test_set_generator.py @@ -0,0 +1,38 @@ +from glob import glob +import glob +import os +import numpy as np +import shutil + +files = glob.glob('data/img/*.jpg') +print (files) + +for i in range(0,len(files)): + print("index: %d is %s" % (i,files[i])) + +no_of_images = len(files) +print(no_of_images) + +#shuffle = np.random.permutation(no_of_images) # creates random permutation of 602 images +shuffle = np.random.permutation(no_of_images) # creates random permutation of 676 + +print(shuffle) + +list = [1,3,5,9,7, 9,10] +#print(shuffle[:180]) +#print(shuffle[180:]) + +os.mkdir(os.path.join('data', 'test')) # creates empty VALID folder + +#for files in glob.glob('data/images/*.jpg'): + #print (files) + +# %15 of 676 +# need to move/seperate the valid images out of the imgs folder +for i in shuffle[:101]: + print(files[i]) + shutil.move(files[i],'data/test') + folder = files[i].split('/')[-1].split('.')[0] + print(folder) + image = files[i].split('/')[-1] + print(image) diff --git a/x64/Release/vc141.pdb b/x64/Release/vc141.pdb new file mode 100644 index 00000000..f5bd4532 Binary files /dev/null and b/x64/Release/vc141.pdb differ diff --git a/x64/Release/yolo_mark.Build.CppClean.log b/x64/Release/yolo_mark.Build.CppClean.log new file mode 100644 index 00000000..2e4ae78c --- /dev/null +++ b/x64/Release/yolo_mark.Build.CppClean.log @@ -0,0 +1,8 @@ +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\vc141.pdb +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\main.obj +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\cl.command.1.tlog +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\cl.read.1.tlog +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\cl.write.1.tlog +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\link.command.1.tlog +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\link.read.1.tlog +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\x64\release\yolo_mark.tlog\link.write.1.tlog diff --git a/x64/Release/yolo_mark.exe b/x64/Release/yolo_mark.exe new file mode 100644 index 00000000..79dac54d Binary files /dev/null and b/x64/Release/yolo_mark.exe differ diff --git a/x64/Release/yolo_mark.iobj b/x64/Release/yolo_mark.iobj new file mode 100644 index 00000000..9207d9ec Binary files /dev/null and b/x64/Release/yolo_mark.iobj differ diff --git a/x64/Release/yolo_mark.ipdb b/x64/Release/yolo_mark.ipdb new file mode 100644 index 00000000..57b1adfe Binary files /dev/null and b/x64/Release/yolo_mark.ipdb differ diff --git a/x64/Release/yolo_mark.log b/x64/Release/yolo_mark.log new file mode 100644 index 00000000..f4667149 --- /dev/null +++ b/x64/Release/yolo_mark.log @@ -0,0 +1,24 @@ + main.cpp +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(144): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(145): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(151): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(295): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(295): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(303): warning C4244: '=': conversion from 'unsigned long' to 'float', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(306): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(354): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(497): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(497): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(570): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(570): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(645): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(645): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(706): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(706): warning C4244: 'initializing': conversion from 'float' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(707): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(707): warning C4244: 'initializing': conversion from 'float' to 'const int', possible loss of data +c:\users\xxaemaethxx\desktop\ml-nn-chao-sys\yolo_mark\main.cpp(814): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data + Generating code + All 1148 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. + Finished generating code + yolo_mark.vcxproj -> C:\Users\XxaemaeThxX\Desktop\ML-NN-Chao-Sys\Yolo_mark\x64\Release\yolo_mark.exe diff --git a/x64/Release/yolo_mark.pdb b/x64/Release/yolo_mark.pdb new file mode 100644 index 00000000..b7a48580 Binary files /dev/null and b/x64/Release/yolo_mark.pdb differ diff --git a/x64/Release/yolo_mark.tlog/CL.command.1.tlog b/x64/Release/yolo_mark.tlog/CL.command.1.tlog new file mode 100644 index 00000000..52b20bb4 Binary files /dev/null and b/x64/Release/yolo_mark.tlog/CL.command.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/CL.read.1.tlog b/x64/Release/yolo_mark.tlog/CL.read.1.tlog new file mode 100644 index 00000000..d4424439 Binary files /dev/null and b/x64/Release/yolo_mark.tlog/CL.read.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/CL.write.1.tlog b/x64/Release/yolo_mark.tlog/CL.write.1.tlog new file mode 100644 index 00000000..34ac0474 Binary files /dev/null and b/x64/Release/yolo_mark.tlog/CL.write.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/link.command.1.tlog b/x64/Release/yolo_mark.tlog/link.command.1.tlog new file mode 100644 index 00000000..cd4beb1d Binary files /dev/null and b/x64/Release/yolo_mark.tlog/link.command.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/link.read.1.tlog b/x64/Release/yolo_mark.tlog/link.read.1.tlog new file mode 100644 index 00000000..d298c946 Binary files /dev/null and b/x64/Release/yolo_mark.tlog/link.read.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/link.write.1.tlog b/x64/Release/yolo_mark.tlog/link.write.1.tlog new file mode 100644 index 00000000..329fbf3a Binary files /dev/null and b/x64/Release/yolo_mark.tlog/link.write.1.tlog differ diff --git a/x64/Release/yolo_mark.tlog/yolo_mark.lastbuildstate b/x64/Release/yolo_mark.tlog/yolo_mark.lastbuildstate new file mode 100644 index 00000000..f4209403 --- /dev/null +++ b/x64/Release/yolo_mark.tlog/yolo_mark.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0 +Release|x64|C:\Users\XxaemaeThxX\Desktop\ML-NN-Chao-Sys\Yolo_mark\| diff --git a/x64/Release/yolo_mark.tlog/yolo_mark.write.1u.tlog b/x64/Release/yolo_mark.tlog/yolo_mark.write.1u.tlog new file mode 100644 index 00000000..b2369a75 Binary files /dev/null and b/x64/Release/yolo_mark.tlog/yolo_mark.write.1u.tlog differ diff --git a/yolo_mark.vcxproj b/yolo_mark.vcxproj index 187a3fb3..814f562e 100644 --- a/yolo_mark.vcxproj +++ b/yolo_mark.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,31 +22,32 @@ {71E25DC4-69FF-4FE2-9DDA-0517AEF2AEAD} OpenCV_mark_imgs yolo_mark + 10.0.17763.0 Application true - v140 + v141 MultiByte Application true - v140 + v141 MultiByte Application false - v140 + v141 true MultiByte Application false - v140 + v141 true MultiByte @@ -81,11 +82,11 @@ Level3 Disabled true - $(OPENCV_DIR)\include;C:\opencv_3.0\opencv\build\include + D:\OpenCV4\opencv4\install\include; true - $(OPENCV_DIR)\x64\vc15\lib;$(OPENCV_DIR)\x64\vc14\lib;C:\opencv_3.0\opencv\build\x64\vc14\lib;C:\opencv_2.4.13\opencv\build\x64\vc12\lib;%(AdditionalLibraryDirectories) + D:\OpenCV4\opencv4\install\x64\vc15\lib; @@ -111,15 +112,15 @@ true true true - $(OPENCV_DIR)\include;C:\opencv_3.0\opencv\build\include + $(OPENCV_DIR)\include;D:\OpenCV4\opencv4\install\include; true true true $(OutDir)$(TargetName)$(TargetExt) - $(OPENCV_DIR)\x64\vc15\lib;$(OPENCV_DIR)\x64\vc14\lib;C:\opencv_3.0\opencv\build\x64\vc14\lib;C:\opencv_2.4.13\opencv\build\x64\vc12\lib;%(AdditionalLibraryDirectories) - + $(OPENCV_DIR)\x64\vc15\lib;$(OPENCV_DIR)\x64\vc14\lib;C:\opencv_3.0\opencv\build\x64\vc14\lib;C:\opencv_2.4.13\opencv\build\x64\vc12\lib;D:\OpenCV4\opencv4\install\x64\vc15\lib;%(AdditionalLibraryDirectories) + opencv_core411.lib;opencv_highgui411.lib;opencv_calib3d411.lib;opencv_dnn411.lib;opencv_features2d411.lib;opencv_flann411.lib;opencv_gapi411.lib;opencv_imgcodecs411.lib;opencv_imgproc411.lib;opencv_ml411.lib;opencv_objdetect411.lib;opencv_photo411.lib;opencv_stitching411.lib;opencv_video411.lib;opencv_videoio411.lib diff --git a/yolo_mark.vcxproj.user b/yolo_mark.vcxproj.user new file mode 100644 index 00000000..be250787 --- /dev/null +++ b/yolo_mark.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file