first working version, single region and motion detection disabled

This commit is contained in:
blakeblackshear
2019-03-17 09:03:52 -05:00
parent de9c3f4d74
commit 8bae05cfe2
6 changed files with 65 additions and 72 deletions

View File

@@ -2,4 +2,4 @@ import numpy as np
# convert shared memory array into numpy array
def tonumpyarray(mp_arr):
return np.frombuffer(mp_arr.get_obj(), dtype=np.uint16)
return np.frombuffer(mp_arr.get_obj(), dtype=np.uint8)