Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frank Tjado Ihmels
medienverarbeitung17.projectmood
Commits
8f86f61b
Commit
8f86f61b
authored
Oct 26, 2017
by
Arne Gerdes
Browse files
File hinzugefügt
parent
cb91aff7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
.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
Supports
Markdown
0%
Try again
or
attach a new 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