91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

強大的人臉識別工具包,能夠實現人臉檢測,人臉特征點檢測等諸多功能

資源截圖

代碼片段和文件信息

“““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?exclude/include?certain?options?in?the?cmake?config?use?--yes?and?--no:
????for?example:
????--yes?USE_AVX_INSTRUCTIONS:?will?set?-DUSE_AVX_INSTRUCTIONS=yes
????--no?USE_AVX_INSTRUCTIONS:?will?set?-DUSE_AVX_INSTRUCTIONS=no
Additional?options:
????--compiler-flags:?pass?flags?onto?the?compiler?e.g.?--compiler-flags?“-Os?-Wall“?passes?-Os?-Wall?onto?GCC.
????-G:?Set?the?CMake?generator.??E.g.?-G?“Visual?Studio?14?2015“
????--clean:?delete?any?previous?build?folders?and?rebuild.??You?should?do?this?if?you?change?any?build?options
?????????????by?setting?--compiler-flags?or?--yes?or?--no?since?last?time?you?ran?a?build?to?make?sure?the?changes
?????????????take?effect.
????--set:?set?arbitrary?options?e.g.?--set?CUDA_HOST_COMPILER=/usr/bin/gcc-6.4.0
“““
import?os
import?re
import?sys
import?shutil
import?platform
import?subprocess
import?multiprocessing
from?distutils?import?log
from?math?import?ceilfloor

from?setuptools?import?setup?Extension
from?setuptools.command.build_ext?import?build_ext
from?distutils.version?import?LooseVersion


def?get_extra_cmake_options():
????“““read?--clean?--yes?--no?--set?--compiler-flags?and?-G?options?from?the?command?line?and?add?them?as?cmake?switches.
????“““
????_cmake_extra_options?=?[]
????_clean_build_folder?=?False

????opt_key?=?None

????argv?=?[arg?for?arg?in?sys.argv]??#?take?a?copy
????#?parse?command?line?options?and?consume?those?we?care?about
????for?arg?in?argv:
????????if?opt_key?==?‘compiler-flags‘:
????????????_cmake_extra_options.append(‘-DCMAKE_CXX_FLAGS={arg}‘.format(arg=arg.strip()))
????????elif?opt_key?==?‘G‘:
????????????_cmake_extra_options?+=?[‘-G‘?arg.strip()]
????????elif?opt_key?==?‘yes‘:
????????????_cmake_extra_options.append(‘-D{arg}=yes‘.format(arg=arg.strip()))
????????elif?opt_key?==?‘no‘:
????????????_cmake_extra_options.append(‘-D{arg}=no‘.format(arg=arg.strip()))
????????elif?opt_key?==?‘set‘:
????????????_cmake_extra_options.append(‘-D{arg}‘.format(arg=arg.strip()))

????????if?opt_key:
????????????sys.argv.remove(arg)
????????????opt_key?=?None
????????????continue

????????if?arg?==?‘--clean‘:
????????????_clean_build_folder?=?True
????????????sys.argv.remove(arg)
????????????continue

????????if?arg?in?[‘--yes‘?‘--no‘?‘--set‘?‘--compiler-

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-03-19?11:29??dlib-19.10\
?????目錄???????????0??2018-03-19?11:29??dlib-19.10\tools\
?????目錄???????????0??2018-03-19?11:29??dlib-19.10\tools\python\
?????目錄???????????0??2018-03-19?11:29??dlib-19.10\tools\python\src\
?????文件???????10089??2018-03-19?11:29??dlib-19.10\tools\python\src\face_recognition.cpp
?????文件????????7101??2018-03-19?11:29??dlib-19.10\tools\python\src\correlation_tracker.cpp
?????文件????????1215??2018-03-19?11:29??dlib-19.10\tools\python\src\testing_results.h
?????文件????????1664??2018-03-19?11:29??dlib-19.10\tools\python\src\conversion.h
?????文件????????4918??2018-03-19?11:29??dlib-19.10\tools\python\src\vector.cpp
?????文件???????13845??2018-03-19?11:29??dlib-19.10\tools\python\src\simple_object_detector.h
?????文件???????11837??2018-03-19?11:29??dlib-19.10\tools\python\src\other.cpp
?????文件?????????343??2018-03-19?11:29??dlib-19.10\tools\python\src\indexing.h
?????文件???????11011??2018-03-19?11:29??dlib-19.10\tools\python\src\simple_object_detector_py.h
?????文件????????5638??2018-03-19?11:29??dlib-19.10\tools\python\src\svm_struct.cpp
?????文件????????2085??2018-03-19?11:29??dlib-19.10\tools\python\src\opaque_types.h
?????文件????????5662??2018-03-19?11:29??dlib-19.10\tools\python\src\numpy_returns.cpp
?????文件???????33132??2018-03-19?11:29??dlib-19.10\tools\python\src\sequence_segmenter.cpp
?????文件????????4955??2018-03-19?11:29??dlib-19.10\tools\python\src\gui.cpp
?????文件???????19507??2018-03-19?11:29??dlib-19.10\tools\python\src\global_optimization.cpp
?????文件????????1998??2018-03-19?11:29??dlib-19.10\tools\python\src\serialize_object_detector.h
?????文件???????12615??2018-03-19?11:29??dlib-19.10\tools\python\src\svm_c_trainer.cpp
?????文件????????5944??2018-03-19?11:29??dlib-19.10\tools\python\src\svm_rank_trainer.cpp
?????文件????????2415??2018-03-19?11:29??dlib-19.10\tools\python\src\numpy_returns_stub.cpp
?????文件????????9576??2018-03-19?11:29??dlib-19.10\tools\python\src\basic.cpp
?????文件????????5807??2018-03-19?11:29??dlib-19.10\tools\python\src\matrix.cpp
?????文件????????6286??2018-03-19?11:29??dlib-19.10\tools\python\src\cca.cpp
?????文件????????3385??2018-03-19?11:29??dlib-19.10\tools\python\src\dlib.cpp
?????文件???????20499??2018-03-19?11:29??dlib-19.10\tools\python\src\object_detection.cpp
?????文件????????1264??2018-03-19?11:29??dlib-19.10\tools\python\src\image.cpp
?????文件???????15573??2018-03-19?11:29??dlib-19.10\tools\python\src\shape_predictor.cpp
?????文件???????12463??2018-03-19?11:29??dlib-19.10\tools\python\src\image_dataset_metadata.cpp
............此處省略3911個文件信息

評論

共有 條評論