wangzhibo
2025-07-27 e0fb1b468f7d607ff78232d250271c46f603c3a9
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
'''