Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
skin_detector
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
人工智能
skin_detector
Commits
f23bd282
Commit
f23bd282
authored
Jan 18, 2017
by
WillBrennan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved scripts
parent
4fcdb8e1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
28 deletions
+41
-28
FromFile.py
FromFile.py
+4
-6
SkinDetector.py
SkinDetector/SkinDetector.py
+3
-4
__init__.py
SkinDetector/__init__.py
+3
-2
scripts.py
SkinDetector/scripts.py
+0
-0
WebCam.py
WebCam.py
+3
-4
setup.py
setup.py
+28
-12
No files found.
FromFile.py
View file @
f23bd282
...
...
@@ -3,15 +3,13 @@
__author__
=
'Will Brennan'
# Built-in Modules
import
os
import
argparse
import
logging
# Standard Modules
import
os
import
cv2
import
numpy
# Custom Modules
import
scripts
from
SkinDetector
import
SkinDetector
from
SkinDetector
import
SkinDetector
,
scripts
logger
=
logging
.
getLogger
(
'main'
)
...
...
SkinDetector/SkinDetector.py
View file @
f23bd282
...
...
@@ -3,13 +3,12 @@
__author__
=
'Will Brennan'
# Built-in Modules
import
time
import
argparse
import
logging
# Standard Modules
import
time
import
cv2
import
numpy
# Custom Modules
import
scripts
logger
=
logging
.
getLogger
(
'main'
)
...
...
SkinDetector/__init__.py
View file @
f23bd282
...
...
@@ -3,5 +3,6 @@
__author__
=
'willbrennan'
from
SkinDetector
import
SkinDetector
from
scripts
import
display
__all__
=
[
"SkinDetector"
]
\ No newline at end of file
__all__
=
[
"SkinDetector"
,
"display"
]
\ No newline at end of file
scripts.py
→
SkinDetector/
scripts.py
View file @
f23bd282
File moved
WebCam.py
View file @
f23bd282
...
...
@@ -5,11 +5,10 @@ __author__ = 'Will Brennan'
# Built-in Modules
import
argparse
import
logging
# Standard Modules
import
cv2
# Custom Modules
import
scripts
from
SkinDetector
import
SkinDetector
from
SkinDetector
import
SkinDetector
,
scripts
if
__name__
==
'__main__'
:
parser
=
argparse
.
ArgumentParser
(
description
=
__doc__
)
...
...
setup.py
View file @
f23bd282
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__
=
'Will Brennan'
# Built-in Modules
# Standard Modules
# Custom Modules
"""
Will automatically ensure that all build prerequisites are available
via ez_setup.
Usage:
python setup.py install
"""
import
ez_setup
ez_setup
.
use_setuptools
()
...
...
@@ -24,3 +13,30 @@ setup(
author_email
=
'william.brennan@skytales.com'
,
license
=
'GPL'
,
install_requires
=
[
"numpy"
],
)
from
setuptools
import
setup
,
find_packages
with
open
(
'README.rst'
)
as
f
:
readme
=
f
.
read
()
with
open
(
'LICENSE'
)
as
f
:
license
=
f
.
read
()
with
open
(
'requirements.txt'
)
as
f
:
required
=
f
.
read
()
.
splitlines
()
setup
(
name
=
'Skin Detector'
,
version
=
'prototype'
,
description
=
'A speedy skin-detector based upon colour thresholding'
,
long_description
=
readme
,
author
=
'WillBrennan'
,
author_email
=
'WillBrennan@users.noreply.github.com'
,
url
=
'https://github.com/WillBrennan/SkinDetector'
,
license
=
license
,
install_requires
=
required
,
packages
=
find_packages
(
exclude
=
(
'tests'
,
'docs'
))
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment