wangzhibo
2025-07-30 1dd99f552485fe006eb0e9a0ebeacfe559d1e765
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
from typing import Any
from insightface.app.common import Face
import numpy
 
Face = Face
Frame = numpy.ndarray[Any, Any]
'''
from typing import Any
import numpy
import numpy.typing as npt  # Import numpy.typing for NDArray
 
from insightface.app.common import Face
 
Face = Face
Frame = npt.NDArray[numpy.uint8]  # Specify the dtype, e.g., uint8 for image frames
'''