Closed BlurryLight closed 3 years ago
Hey! Thanks for your quick reply! I have mannually fixed the error and managed to get my OpenCV work. However, It looks like you've forgot to upload the "hair_v1.obj" . It should be in the path './Resources/3D models/hair/hair_v1.obj'.
Now my good friend QtCreator keep throwing error like this
:-1: error: No rule to make target '../../Resources/3D models/hair/hair_v1.obj', needed by 'qrc_application.cpp'. Stop.
Could you share the original obj file?
Sorry, I couldn't find a 3d model of a head. But I used from this link https://www.turbosquid.com/FullPreview/Index.cfm/ID/256001 This head was free when I used it
You can use another 3d model of a head, you just should exchange coordinates of keypoints in this. https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/PoseEstimation.cpp#L21
Hey iantv! Your project is great. I have yet succefully compiled your project since my OpenCV is broken. I've read part of your code and found something weird.
It sees your git had done something do your background.vert . https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/Resources/shaders/background.vert#L8
I'm a lillte confused about the magic number in lines from there. Could you help me with more information about it? https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/PoseEstimation.cpp#L21