remove if condition

This commit is contained in:
Endre Simo
2019-02-06 16:18:04 +02:00
parent 57f26c8d4a
commit 747334f841
2 changed files with 23 additions and 25 deletions

View File

@@ -21,7 +21,7 @@ class GoPixelSlice(Structure):
# Obtain the camera pixels and transfer them to Go trough Ctypes.
def process_frame(pixs):
dets = numpy.zeros(3*MAX_NDETS, dtype=numpy.float32)
dets = numpy.zeros(3 * MAX_NDETS, dtype=numpy.float32)
pixels = cast((c_ubyte * len(pixs))(*pixs), POINTER(c_ubyte))
# call FindFaces