Initial commit for facemark trainer
This commit is contained in:
29
code/CMakeLists.txt
Normal file
29
code/CMakeLists.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (Trainer)
|
||||
# The version number.
|
||||
set (Trainer_VERSION_MAJOR 1)
|
||||
set (Trainer_VERSION_MINOR 0)
|
||||
|
||||
#Set the output folder
|
||||
set (CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/output)
|
||||
set (SRC ${PROJECT_SOURCE_DIR}/src)
|
||||
set (INCLUDE ${PROJECT_SOURCE_DIR}/include)
|
||||
set (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
||||
set (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
set(CMAKE_BUILD_TYPE RelWithDebInfo)
|
||||
|
||||
|
||||
#Included folders
|
||||
include_directories("${SRC}")
|
||||
include_directories("${INCLUDE}")
|
||||
|
||||
#OpenCV
|
||||
find_package( OpenCV )
|
||||
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
||||
#include_directories( ${OpenCV2_INCLUDE_DIRS} )
|
||||
|
||||
add_executable(Trainer ${SRC}/Trainer.cpp)
|
||||
|
||||
target_link_libraries( Trainer ${OpenCV_LIBS} )
|
||||
|
31
code/src/.vscode/launch.json
vendored
Normal file
31
code/src/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
|
||||
{
|
||||
"name": "(lldb) Launch",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "/Users/brandonwatson/Documents/Gitlab/WhoDat/facemark-trainer/code/output/Trainer",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
"linux": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/usr/bin/gdb"
|
||||
},
|
||||
"osx": {
|
||||
"MIMode": "lldb"
|
||||
},
|
||||
"windows": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
13
code/src/.vscode/settings.json
vendored
Normal file
13
code/src/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"__config": "cpp",
|
||||
"__nullptr": "cpp",
|
||||
"cstddef": "cpp",
|
||||
"exception": "cpp",
|
||||
"initializer_list": "cpp",
|
||||
"new": "cpp",
|
||||
"stdexcept": "cpp",
|
||||
"type_traits": "cpp",
|
||||
"typeinfo": "cpp"
|
||||
}
|
||||
}
|
16
code/src/.vscode/tasks.json
vendored
Normal file
16
code/src/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build Trainer",
|
||||
"type": "shell",
|
||||
"command": "cd ../cmake; make",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
9
code/src/trainer.cpp
Normal file
9
code/src/trainer.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, const char** argv)
|
||||
{
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user