Skip to content

Commit

Permalink
updating gitignore. organizing files into folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
bk521234 committed Jul 10, 2019
1 parent 1221a70 commit 29c50e9
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 233 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ kangaroo/*
# ignore cache files
*.pyc


.vscode/
9 changes: 6 additions & 3 deletions cv/car_detection.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# OpenCV Python program to detect cars in video frame
# import libraries of python OpenCV
import cv2

import os

FILE_DIR = os.path.dirname(__file__)

# capture frames from a video
cap = cv2.VideoCapture('video.avi')
cap = cv2.VideoCapture(os.path.join( FILE_DIR, 'video.avi'))

# Trained XML classifiers describes some features of some object we want to detect
car_cascade = cv2.CascadeClassifier('cars.xml')
car_cascade = cv2.CascadeClassifier(os.path.join( FILE_DIR, 'cars.xml'))

# loop runs if capturing has been initialized.
while True:
Expand Down
File renamed without changes
File renamed without changes
Binary file added cv/video.avi
Binary file not shown.
77 changes: 0 additions & 77 deletions mtcnn_facial_recognition.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
153 changes: 0 additions & 153 deletions object_detection_model.py

This file was deleted.

File renamed without changes.

0 comments on commit 29c50e9

Please sign in to comment.