File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
from skimage .filters import threshold_otsu
3
3
import matplotlib .pyplot as plt
4
4
5
- filename = 'C:/Users/Apoorva/PycharmProjects/LicensePlateDetector/video15 .mp4'
5
+ filename = './video12 .mp4'
6
6
7
7
import cv2
8
8
cap = cv2 .VideoCapture (filename )
25
25
import imutils
26
26
car_image = imread ("./output/frame%d.jpg" % (count - 1 ), as_gray = True )
27
27
car_image = imutils .rotate (car_image , 270 )
28
- # car_image = imread("car5.jpg ", as_gray=True)
28
+ # car_image = imread("car.png ", as_gray=True)
29
29
# it should be a 2 dimensional array
30
30
print (car_image .shape )
31
31
Original file line number Diff line number Diff line change 1
1
import SegmentCharacters
2
2
import pickle
3
3
print ("Loading model" )
4
- filename = 'C:/Users/Apoorva/PycharmProjects/LicensePlateDetector /finalized_model.sav'
4
+ filename = '. /finalized_model.sav'
5
5
model = pickle .load (open (filename , 'rb' ))
6
6
7
7
print ('Model loaded. Predicting characters of number plate' )
You can’t perform that action at this time.
0 commit comments