Comments (5)
Hi @tell10glu,
could you please provide some screenshot of the error you are getting. On linux there were no issues of this kind reported, so it might help to get in the picture of what might be wrong in your case.
from clandmark.
In CApperanceModel.h this is the error i am getting.
http://s21.postimg.org/ajv659nfr/Screen_Shot_2016_03_16_at_22_03_54.png
from clandmark.
Sorry, I didn't specify it, but I meant the screenshots of the whole CMake configuration procedure. And also bigger pictures please, this is not very readable.
from clandmark.
Is this enough ? If it's not, you should tell me where is the path of configuration file that you want.
http://s8.postimg.org/5g0qouk8l/Screen_Shot_2016_03_16_at_22_16_49.png
from clandmark.
I see, now I finally got what is the problem.
You compiled the library successfully and now you would like to use it in your project, right?
This is not documented on the webpages yet, I am sorry. Hope this quick tutorial will help you.
You should either follow the scheme which is used in examples folder, or use the external approach, the template for the CMakeLists.txt
would be as follows
cmake_minimum_required(VERSION 2.8.9)
project(clandmark_external)
find_package(clandmark REQUIRED)
find_package(flandmark REQUIRED)
include_directories(
${OpenCV_INCLUDE_DIR}
${CLANDMARK_INCLUDE_DIRS}
${FLANDMARK_INCLUDE_DIRS}
)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RELEASE CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE
)
endif(NOT CMAKE_BUILD_TYPE)
SET (CMAKE_EXE_LINKER_FLAGS
"${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath,'$ORIGIN/' " )
set(SRCS main)
foreach(var ${SRCS})
add_executable(${var} ${var}.cpp)
target_link_libraries(${var} ${FLANDMARK_LIBRARIES} ${CLANDMARK_LIBRARIES}
endforeach()
option(DOUBLE_PRECISION "Set the default precision used in CLandmark" ON)
# propagate precision definition
if(DOUBLE_PRECISION)
add_definitions( -DDOUBLE_PRECISION=1 )
else(DOUBLE_PRECISION)
add_definitions( -DDOUBLE_PRECISION=0 )
endif(DOUBLE_PRECISION)
modify it as needed (i.e. add some possible additional libraries like OpenCV etc.).
In case clandmark library is not found automatically, just modify the path manually during CMake configuration process.
from clandmark.
Related Issues (20)
- Running Clandmark webcam example HOT 15
- Truecaller_api
- Tru
- Truecaller_api HOT 1
- matlab interface HOT 2
- matlab interface HOT 5
- missing -lopencv_imgcodecs for libopencv 3.1.0 HOT 3
- Using code in video processing,how can I speed up it? HOT 2
- Error in `./video_input': double free or corruption (out): 0x0000000000b56020 ***Aborted (core dumped) HOT 1
- Face Rectangle size HOT 11
- Relocation error when compiling Python interface on Ubuntu HOT 23
- cannot openfile CDPM.xml HOT 9
- Building python_binding HOT 2
- Ask some questions for using "C2F-DPM.xml" HOT 5
- How to build a new face model based on Rhesus monkey ?
- Matlab interface on linux
- Can I use this lib to detect smile ? HOT 2
- Using clandmark in Android app with native c++ HOT 6
- Question for unstable landmark points according to new input frames.
- Multi-view face landmark extraction in Python HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clandmark.