Skip to content

Commit 2c58278

Browse files
committedJul 4, 2016
Initial commit
0 parents  commit 2c58278

File tree

4 files changed

+190
-0
lines changed

4 files changed

+190
-0
lines changed
 

‎.gitignore

+143
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Python template
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*,cover
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
56+
# Sphinx documentation
57+
docs/_build/
58+
59+
# PyBuilder
60+
target/
61+
### VirtualEnv template
62+
# Virtualenv
63+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
64+
.Python
65+
[Bb]in
66+
[Ii]nclude
67+
[Ll]ib
68+
[Ss]cripts
69+
pyvenv.cfg
70+
pip-selfcheck.json
71+
### JetBrains template
72+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
73+
74+
*.iml
75+
76+
## Directory-based project format:
77+
.idea/
78+
# if you remove the above rule, at least ignore the following:
79+
80+
# User-specific stuff:
81+
# .idea/workspace.xml
82+
# .idea/tasks.xml
83+
# .idea/dictionaries
84+
85+
# Sensitive or high-churn files:
86+
# .idea/dataSources.ids
87+
# .idea/dataSources.xml
88+
# .idea/sqlDataSources.xml
89+
# .idea/dynamic.xml
90+
# .idea/uiDesigner.xml
91+
92+
# Gradle:
93+
# .idea/gradle.xml
94+
# .idea/libraries
95+
96+
# Mongo Explorer plugin:
97+
# .idea/mongoSettings.xml
98+
99+
## File-based project format:
100+
*.ipr
101+
*.iws
102+
103+
## Plugin-specific files:
104+
105+
# IntelliJ
106+
/out/
107+
108+
# mpeltonen/sbt-idea plugin
109+
.idea_modules/
110+
111+
# JIRA plugin
112+
atlassian-ide-plugin.xml
113+
114+
# Crashlytics plugin (for Android Studio and IntelliJ)
115+
com_crashlytics_export_strings.xml
116+
crashlytics.properties
117+
crashlytics-build.properties
118+
### OSX template
119+
.DS_Store
120+
.AppleDouble
121+
.LSOverride
122+
123+
# Icon must end with two \r
124+
Icon
125+
126+
# Thumbnails
127+
._*
128+
129+
# Files that might appear in the root of a volume
130+
.DocumentRevisions-V100
131+
.fseventsd
132+
.Spotlight-V100
133+
.TemporaryItems
134+
.Trashes
135+
.VolumeIcon.icns
136+
137+
# Directories potentially created on remote AFP share
138+
.AppleDB
139+
.AppleDesktop
140+
Network Trash Folder
141+
Temporary Items
142+
.apdisk
143+

‎LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Hiroki Nakayama
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# BossSensor
2+
Hide screen when boss is approaching.
3+
4+
## Requirements
5+
6+
* WebCamera
7+
* python3.5
8+
* OSX
9+
* virtualenv
10+
11+
## Installation
12+
install OpenCV
13+
14+
install virtualenv
15+
16+
```
17+
virtualenv venv --python=python3.5
18+
source venv/bin/activate
19+
pip install -r requirements.txt
20+
```
21+
22+
## Execution
23+
24+
```
25+
python run.py
26+
```

‎requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)
Please sign in to comment.