mirror of
https://github.com/esimov/pigo.git
synced 2025-10-07 09:00:51 +08:00
remove if condition
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user