Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medienverarbeitung17.projectmood
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Frank Tjado Ihmels
medienverarbeitung17.projectmood
Commits
8f86f61b
Commit
8f86f61b
authored
Oct 26, 2017
by
Arne Gerdes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
File hinzugefügt
parent
cb91aff7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35731 additions
and
9 deletions
+35731
-9
.idea/inspectionProfiles/Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+10
-0
projectmood/ErsterTest
projectmood/ErsterTest
+8
-8
projectmood/ZweiterTest
projectmood/ZweiterTest
+1
-1
projectmood/haarcascade_frontalface_default.xml
projectmood/haarcascade_frontalface_default.xml
+35712
-0
projectmood/shape_predictor_68_face_landmarks.dat
projectmood/shape_predictor_68_face_landmarks.dat
+0
-0
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
8f86f61b
<component
name=
"InspectionProjectProfileManager"
>
<profile
version=
"1.0"
>
<option
name=
"myName"
value=
"Project Default"
/>
<inspection_tool
class=
"PyPackageRequirementsInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"ignoredPackages"
>
<value>
<list
size=
"2"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"tblib"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"virtualenv"
/>
</list>
</value>
</option>
</inspection_tool>
<inspection_tool
class=
"PyUnresolvedReferencesInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"ignoredIdentifiers"
>
<list>
...
...
projectmood/ErsterTest
View file @
8f86f61b
...
...
@@ -5,15 +5,15 @@ detector = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
cap = cv2.VideoCapture(0)
while (True):
ret, img = cap.read()
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
faces = detector.detectMultiScale(gray, 1.3, 5)
for (x, y, w, h) in faces:
cv2.rectangle(img, (x, y), (x + w, y + h), (255, 0, 0), 2)
ret, img = cap.read()
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
faces = detector.detectMultiScale(gray, 1.3, 5)
for (x, y, w, h) in faces:
cv2.rectangle(img, (x, y), (x + w, y + h), (255, 0, 0), 2)
cv2.imshow('frame', img)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.imshow('frame', img)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
projectmood/ZweiterTest
View file @
8f86f61b
...
...
@@ -26,4 +26,4 @@ while True:
cv2.imshow("image", frame) # Display the frame
if cv2.waitKey(1) & 0xFF == ord('q'): # Exit program when the user presses 'q'
break
\ No newline at end of file
break
projectmood/haarcascade_frontalface_default.xml
0 → 100644
View file @
8f86f61b
This diff is collapsed.
Click to expand it.
projectmood/shape_predictor_68_face_landmarks.dat
0 → 100644
View file @
8f86f61b
File added
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