当前位置: 首页 > 工具软件 > Face-Detector > 使用案例 >

A-Light-and-Fast-Face-Detector-for-Edge-Devices

罗新
2023-12-01

A-Light-and-Fast-Face-Detector-for-Edge-Devices

pip install mxnet-cu100

 

0是负样本,1是正样本

  ret, buf = cv2.imencode(self.compression_mode, im, self.encode_params)
            if buf is None or buf.size == 0:
                print('buf is wrong.')
                continue
            if not ret:
                print('An error is occurred while com:pression.')
                continue
            temp_sample.append(buf)

            if isinstance(bboxes, str):  # 负样本
                temp_sample.append(0)
                temp_sample.append(int(bboxes))
            else:
                temp_sample.append(1)
                temp_sample.append(bboxes)

 

1070 v1 15ms

v2 10ms

数据集下载:

 类似资料: