資源簡介
通過django搭建的人臉檢測web平臺,以單獨的api接口形式對外提供調用
代碼片段和文件信息
#!/usr/bin/env?python
import?os
import?sys
if?__name__?==?“__main__“:
????os.environ.setdefault(“DJANGO_SETTINGS_MODULE“?“facedetection.settings“)
????try:
????????from?django.core.management?import?execute_from_command_line
????except?ImportError:
????????#?The?above?import?may?fail?for?some?other?reason.?Ensure?that?the
????????#?issue?is?really?that?Django?is?missing?to?avoid?masking?other
????????#?exceptions?on?Python?2.
????????try:
????????????import?django
????????except?ImportError:
????????????raise?ImportError(
????????????????“Couldn‘t?import?Django.?Are?you?sure?it‘s?installed?and?“
????????????????“available?on?your?PYTHONPATH?environment?variable??Did?you?“
????????????????“forget?to?activate?a?virtual?environment?“
????????????)
????????raise
????execute_from_command_line(sys.argv)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2110??2019-04-07?13:48??facedetection\.vscode\launch.json
?????文件?????????66??2019-04-07?12:46??facedetection\app\admin.py
?????文件?????????86??2019-04-07?12:46??facedetection\app\apps.py
?????文件??????????0??2019-04-07?12:46??facedetection\app\migrations\__init__.py
?????文件????????154??2019-04-07?13:28??facedetection\app\migrations\__pycache__\__init__.cpython-36.pyc
?????文件?????????60??2019-04-07?12:46??facedetection\app\models.py
?????文件?????????63??2019-04-07?12:46??facedetection\app\tests.py
?????文件???????2525??2019-04-07?13:47??facedetection\app\views.py
?????文件??????????0??2019-04-07?12:46??facedetection\app\__init__.py
?????文件????????184??2019-04-07?13:28??facedetection\app\__pycache__\admin.cpython-36.pyc
?????文件????????181??2019-04-07?13:28??facedetection\app\__pycache__\models.cpython-36.pyc
?????文件???????1690??2019-04-07?13:47??facedetection\app\__pycache__\views.cpython-36.pyc
?????文件????????143??2019-04-07?13:28??facedetection\app\__pycache__\__init__.cpython-36.pyc
?????文件??????12288??2019-04-07?13:28??facedetection\db.sqlite3
?????文件???????3272??2019-04-07?12:49??facedetection\facedetection\settings.py
?????文件????????885??2019-04-07?13:22??facedetection\facedetection\urls.py
?????文件????????420??2019-04-07?12:43??facedetection\facedetection\wsgi.py
?????文件??????????0??2019-04-07?12:43??facedetection\facedetection\__init__.py
?????文件???????2289??2019-04-07?13:28??facedetection\facedetection\__pycache__\settings.cpython-36.pyc
?????文件???????1035??2019-04-07?13:28??facedetection\facedetection\__pycache__\urls.cpython-36.pyc
?????文件????????569??2019-04-07?13:28??facedetection\facedetection\__pycache__\wsgi.cpython-36.pyc
?????文件????????153??2019-04-07?12:45??facedetection\facedetection\__pycache__\__init__.cpython-36.pyc
?????文件?????930127??2018-02-12?00:37??facedetection\haarcascade_frontalface_default.xm
?????文件????????833??2019-04-07?12:43??facedetection\manage.py
?????文件?????444889??2018-02-12?00:37??facedetection\temp.jpg
?????文件????????627??2019-04-07?13:58??facedetection\test_run.py
?????目錄??????????0??2019-04-07?13:28??facedetection\app\migrations\__pycache__
?????目錄??????????0??2019-04-07?13:28??facedetection\app\migrations
?????目錄??????????0??2019-04-07?13:47??facedetection\app\__pycache__
?????目錄??????????0??2019-04-07?13:28??facedetection\facedetection\__pycache__
............此處省略7個文件信息
- 上一篇:tdms文件轉為txt文件
- 下一篇:Project2007項目案例MPP源文件
評論
共有 條評論