Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-115
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-115
2021-115
Commits
cfabc76c
Commit
cfabc76c
authored
Jun 11, 2021
by
Odhara Kodikara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add libraries and folder path
parent
b78caab8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
.idea/workspace.xml
.idea/workspace.xml
+4
-8
Kidnapper_detection/face-detection.py
Kidnapper_detection/face-detection.py
+11
-4
No files found.
.idea/workspace.xml
View file @
cfabc76c
...
...
@@ -19,19 +19,14 @@
<select>
<path>
<item
name=
"ROOT"
type=
"e8cecc67:BranchNodeDescriptor"
/>
<item
name=
"REMOTE_ROOT"
type=
"e8cecc67:BranchNodeDescriptor"
/>
<item
name=
"GROUP_NODE:origin"
type=
"e8cecc67:BranchNodeDescriptor"
/>
<item
name=
"BRANCH:origin/it17167710_prathapa"
type=
"e8cecc67:BranchNodeDescriptor"
/>
<item
name=
"LOCAL_ROOT"
type=
"e8cecc67:BranchNodeDescriptor"
/>
<item
name=
"BRANCH:it18110708_kodikara"
type=
"e8cecc67:BranchNodeDescriptor"
/>
</path>
</select>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"506a0042-9602-4f1c-a168-3051616c6bf7"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/.gitignore"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/modules.xml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/vcs.xml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/Kidnapper_detection/face-detection.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/Kidnapper_detection/face-detection.py"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -97,6 +92,7 @@
</entry>
</map>
</option>
<option
name=
"oldMeFiltersMigrated"
value=
"true"
/>
</component>
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"import libraries"
/>
...
...
Kidnapper_detection/face-detection.py
View file @
cfabc76c
# IT18110708
#
import libraries
import
cv2
#
from imageai.Detection import ObjectDetection
from
imutils
import
paths
import
pickle
import
scipy
import
imutils
\ No newline at end of file
import
imutils
import
cv2
import
sys
import
os
import
time
model_path
=
"../model/yolo-tiny.h5"
input_path
=
"input/input4.jpg"
output_path
=
"output/output4.jpg"
cascPath
=
'haarcascade_frontalface_default.xml'
\ No newline at end of file
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