Skip to content

goldenskygiang/atarashii-bishion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

新しいビシオン!

Another プロジェクト for the 11th Cloud Programming World Cup in 2023.

今年は、ペンシルバニアから東京まで行きましょう! もう一度,日本へ戻ってくる!

Get started

  • Download and install Visual Studio 2022.
  • Download and install OpenCV.

Build and install dlib

Reference: https://learnopencv.com/install-dlib-on-windows/

  • Download dlib then extract the archive.
  • Create a build folder in the parent folder of dlib, docs, examples, etc.
  • Type the following commands to build dlib.
cd build

cmake -G "Visual Studio 17 2022" `
-DJPEG_INCLUDE_DIR=..\dlib\external\libjpeg `
-DJPEG_LIBRARY=..\dlib\external\libjpeg `
-DPNG_PNG_INCLUDE_DIR=..\dlib\external\libpng `
-DPNG_LIBRARY_RELEASE=..\dlib\external\libpng `
-DZLIB_INCLUDE_DIR=..\dlib\external\zlib `
-DZLIB_LIBRARY_RELEASE=..\dlib\external\zlib `
-DCMAKE_INSTALL_PREFIX=install_debug ..
 
cmake --build . --config Debug --target INSTALL

cmake -G "Visual Studio 17 2022" `
-DJPEG_INCLUDE_DIR=..\dlib\external\libjpeg `
-DJPEG_LIBRARY=..\dlib\external\libjpeg `
-DPNG_PNG_INCLUDE_DIR=..\dlib\external\libpng `
-DPNG_LIBRARY_RELEASE=..\dlib\external\libpng `
-DZLIB_INCLUDE_DIR=..\dlib\external\zlib `
-DZLIB_LIBRARY_RELEASE=..\dlib\external\zlib `
-DCMAKE_INSTALL_PREFIX=install_release ..

cmake --build . --config Release --target INSTALL

Dependency directory

  • Dlib: C:\dlib
  • OpenCV: C:\opencv
  • haarcascade_frontalface_alt.xml: C:\opencv\build\etc\haarcascades\haarcascade_frontalface_alt.xml
  • shape_predictor_68_face_landmarks.dat: C:\opencv\build\etc\shape_predictor_68_face_landmarks.dat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published