detect_plate/widerface_evaluate/setup.py

14 lines
328 B
Python
Raw Permalink Normal View History

2024-08-07 09:32:38 +08:00
"""
WiderFace evaluation code
author: wondervictor
mail: tianhengcheng@gmail.com
copyright@wondervictor
"""
from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy
package = Extension('bbox', ['box_overlaps.pyx'], include_dirs=[numpy.get_include()])
setup(ext_modules=cythonize([package]))