资源简介
官网上下载的dlib-19.7,关于人脸信息或者人脸特征点识别。
代码片段和文件信息
“““setup for the dlib project
Copyright (C) 2015 Ehsan Azar (dashesy@linux.com)
License: Boost Software License See LICENSE.txt for the full license.
This file basically just uses CMake to compile the dlib python bindings project
located in the tools/python folder and then puts the outputs into standard
python packages.
To build the dlib:
python setup.py build
To build and install:
python setup.py install
To package the wheel (after pip installing twine and wheel):
python setup.py bdist_wheel
To upload the binary wheel to PyPi
twine upload dist/*.whl
To upload the source distribution to PyPi
python setup.py sdist upload
To repackage the previously built package as wheel (bypassing build):
python setup.py bdist_wheel --repackage
To install a develop version (egg with symbolic link):
python setup.py develop
To exclude/include certain options in the cmake config use --yes and --no:
for example:
--yes DLIB_NO_GUI_SUPPORT: will set -DDLIB_NO_GUI_SUPPORT=yes
--no DLIB_NO_GUI_SUPPORT: will set -DDLIB_NO_GUI_SUPPORT=no
Additional options:
--compiler-flags: pass flags onto the compiler e.g. --compiler-flag “-Os -Wall“ passes -Os -Wall onto GCC.
--debug: makes a debug build
--cmake: path to specific cmake executable
--G or -G: name of a build system generator (equivalent of passing -G “name“ to cmake)
“““
from __future__ import print_function
import shutil
import stat
import errno
from setuptools.command.bdist_egg import bdist_egg as _bdist_egg
from setuptools.command.develop import develop as _develop
from distutils.command.build_ext import build_ext as _build_ext
from distutils.command.build import build as _build
from distutils.errors import DistutilsSetupError
from distutils.spawn import find_executable
from distutils.sysconfig import get_python_inc get_python_version get_config_var
from distutils import log
import os
import sys
from setuptools import Extension setup
import platform
from subprocess import Popen PIPE STDOUT
import signal
from threading import Thread
import time
import re
# change directory to this module path
try:
this_file = __file__
except NameError:
this_file = sys.argv[0]
this_file = os.path.abspath(this_file)
if os.path.dirname(this_file):
os.chdir(os.path.dirname(this_file))
script_dir = os.getcwd()
def _get_options():
“““read arguments and creates options
“““
_cmake_path = find_executable(“cmake“)
_cmake_extra = []
_cmake_config = ‘Release‘
_options = []
opt_key = None
_generator_set = False # if a build generator is set
argv = [arg for arg in sys.argv] # take a copy
# parse commandline options and consume those we care about
for opt_idx arg in enumerate(argv):
if opt_key == ‘cmake‘:
_cmake_path = arg
elif opt_key == ‘compiler-flags‘:
_cmake_extra.append(‘-DCMAKE_CXX_FLAGS=
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-09-17 12:28 dlib-19.7\
文件 366 2017-09-17 12:28 dlib-19.7\appveyor.yml
目录 0 2017-09-17 12:28 dlib-19.7\dlib\
目录 0 2017-09-17 12:28 dlib-19.7\dlib\all\
文件 3168 2017-09-17 12:28 dlib-19.7\dlib\all\source.cpp
目录 0 2017-09-17 12:28 dlib-19.7\dlib\any\
文件 4038 2017-09-17 12:28 dlib-19.7\dlib\any\any.h
文件 6267 2017-09-17 12:28 dlib-19.7\dlib\any\any_abstract.h
文件 5249 2017-09-17 12:28 dlib-19.7\dlib\any\any_decision_function.h
文件 6865 2017-09-17 12:28 dlib-19.7\dlib\any\any_decision_function_abstract.h
文件 27672 2017-09-17 12:28 dlib-19.7\dlib\any\any_function.h
文件 9461 2017-09-17 12:28 dlib-19.7\dlib\any\any_function_abstract.h
文件 17732 2017-09-17 12:28 dlib-19.7\dlib\any\any_function_impl.h
文件 1795 2017-09-17 12:28 dlib-19.7\dlib\any\any_function_impl2.h
文件 5463 2017-09-17 12:28 dlib-19.7\dlib\any\any_trainer.h
文件 7283 2017-09-17 12:28 dlib-19.7\dlib\any\any_trainer_abstract.h
目录 0 2017-09-17 12:28 dlib-19.7\dlib\array\
文件 20983 2017-09-17 12:28 dlib-19.7\dlib\array\array_kernel.h
文件 11777 2017-09-17 12:28 dlib-19.7\dlib\array\array_kernel_abstract.h
文件 975 2017-09-17 12:28 dlib-19.7\dlib\array\array_tools.h
文件 1146 2017-09-17 12:28 dlib-19.7\dlib\array\array_tools_abstract.h
目录 0 2017-09-17 12:28 dlib-19.7\dlib\array2d\
文件 1650 2017-09-17 12:28 dlib-19.7\dlib\array2d\array2d_generic_image.h
文件 13550 2017-09-17 12:28 dlib-19.7\dlib\array2d\array2d_kernel.h
文件 9157 2017-09-17 12:28 dlib-19.7\dlib\array2d\array2d_kernel_abstract.h
文件 11086 2017-09-17 12:28 dlib-19.7\dlib\array2d\serialize_pixel_overloads.h
目录 0 2017-09-17 12:28 dlib-19.7\dlib\ba
文件 12555 2017-09-17 12:28 dlib-19.7\dlib\ba
文件 2411 2017-09-17 12:28 dlib-19.7\dlib\ba
文件 3798 2017-09-17 12:28 dlib-19.7\dlib\ba
目录 0 2017-09-17 12:28 dlib-19.7\dlib\bayes_utils\
............此处省略3756个文件信息
相关资源
- dlib库 64位,32位
- dlib19.17使用vs2017 64 位编译 release版本
- cadlib2.0的案例和动态链接库
- dlib人脸识别模型
- CadLib4.0英文API帮助文档
- dlib-19.10 VS2017 编译好的库
- Dlib 编译好的Lib
- Dlib FaceLandmark Detector 1.2.8.rar
- Dlib FaceLandmark Detector 1.2.5
- dlib-19.10
- DlibTest.7z
- dlib人脸68点特征点检测
- 人脸识别的68个特征点检测库dat文件
- VxWorks共享库入门教程
- imglab 制作数据集标签
- Dlib FaceLandmark Detector v1.2.0
- STDLIB.H头文件
- C头文件stdlib.h
- CadLib(根据国外CadLib库)修改
- dlib-19.17.99-cp37-cp37m-win_amd64.zip
- Dlib19.15 编译好的标签工具: imgLab.e
- dlib库的whl文件——dlib-19.7.0-c
- pytorch实现人脸识别包括人脸检测(
- 树莓派Opencv安装教程并解决一些impo
- dlib人脸检测和关关键点检测
评论
共有 条评论