Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
276daf81
Commit
276daf81
authored
Mar 09, 2017
by
Philipp Kopp
Browse files
Options
Browse Files
Download
Plain Diff
merge with devel branch
parents
4cc304d1
9a3ff0d2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
653 additions
and
160 deletions
+653
-160
examples/CMakeLists.txt
examples/CMakeLists.txt
+6
-0
examples/fit-model-multi.cpp
examples/fit-model-multi.cpp
+278
-0
include/eos/fitting/fitting.hpp
include/eos/fitting/fitting.hpp
+254
-110
include/eos/fitting/linear_shape_fitting.hpp
include/eos/fitting/linear_shape_fitting.hpp
+115
-50
No files found.
examples/CMakeLists.txt
View file @
276daf81
...
@@ -30,6 +30,11 @@ add_executable(fit-model fit-model.cpp)
...
@@ -30,6 +30,11 @@ add_executable(fit-model fit-model.cpp)
target_link_libraries
(
fit-model eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
fit-model eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
fit-model
"$<$<CXX_COMPILER_ID:GNU>:-pthread>$<$<CXX_COMPILER_ID:Clang>:-pthreads>"
)
target_link_libraries
(
fit-model
"$<$<CXX_COMPILER_ID:GNU>:-pthread>$<$<CXX_COMPILER_ID:Clang>:-pthreads>"
)
# Model fitting example that fits orthographic camera, shape, blendshapes, and contours to multiple images:
add_executable
(
fit-model-multi fit-model-multi.cpp
)
target_link_libraries
(
fit-model-multi eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
fit-model-multi
"$<$<CXX_COMPILER_ID:GNU>:-pthread>$<$<CXX_COMPILER_ID:Clang>:-pthreads>"
)
# Generate random samples from the model:
# Generate random samples from the model:
add_executable
(
generate-obj generate-obj.cpp
)
add_executable
(
generate-obj generate-obj.cpp
)
target_link_libraries
(
generate-obj eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
generate-obj eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
...
@@ -37,6 +42,7 @@ target_link_libraries(generate-obj eos ${OpenCV_LIBS} ${Boost_LIBRARIES})
...
@@ -37,6 +42,7 @@ target_link_libraries(generate-obj eos ${OpenCV_LIBS} ${Boost_LIBRARIES})
# Install these targets:
# Install these targets:
install
(
TARGETS fit-model-simple DESTINATION bin
)
install
(
TARGETS fit-model-simple DESTINATION bin
)
install
(
TARGETS fit-model DESTINATION bin
)
install
(
TARGETS fit-model DESTINATION bin
)
install
(
TARGETS fit-model-multi DESTINATION bin
)
install
(
TARGETS generate-obj DESTINATION bin
)
install
(
TARGETS generate-obj DESTINATION bin
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/data DESTINATION bin
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/data DESTINATION bin
)
...
...
examples/fit-model-multi.cpp
0 → 100644
View file @
276daf81
This diff is collapsed.
Click to expand it.
include/eos/fitting/fitting.hpp
View file @
276daf81
This diff is collapsed.
Click to expand it.
include/eos/fitting/linear_shape_fitting.hpp
View file @
276daf81
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment