Skip to content

Commit

Permalink
Object_detection_picamera.py: Changed line 136
Browse files Browse the repository at this point in the history
  • Loading branch information
EdjeElectronics committed Jan 21, 2019
1 parent d2f338c commit 3a3fbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Object_detection_picamera.py
Expand Up @@ -133,7 +133,7 @@

# Acquire frame and expand frame dimensions to have shape: [1, None, None, 3]
# i.e. a single-column array, where each item in the column has the pixel RGB value
frame = frame1.array
frame = np.copy(frame1.array)
frame.setflags(write=1)
frame_expanded = np.expand_dims(frame, axis=0)

Expand Down

0 comments on commit 3a3fbba

Please sign in to comment.