mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 05:27:44 +03:00
Remove Unnessery includes
This commit is contained in:
parent
b769bbd6f1
commit
ca4434d9ed
@ -12,31 +12,21 @@ import cv2
|
|||||||
try:
|
try:
|
||||||
from hailo_platform import (
|
from hailo_platform import (
|
||||||
HEF,
|
HEF,
|
||||||
ConfigureParams,
|
|
||||||
FormatType,
|
FormatType,
|
||||||
HailoRTException,
|
|
||||||
HailoStreamInterface,
|
|
||||||
InputVStreamParams,
|
|
||||||
OutputVStreamParams,
|
|
||||||
VDevice,
|
VDevice,
|
||||||
HailoSchedulingAlgorithm,
|
HailoSchedulingAlgorithm,
|
||||||
)
|
)
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import Field
|
||||||
from typing_extensions import Literal
|
from typing_extensions import Literal
|
||||||
|
|
||||||
from frigate.const import MODEL_CACHE_DIR
|
from frigate.const import MODEL_CACHE_DIR
|
||||||
from frigate.detectors.detection_api import DetectionApi
|
from frigate.detectors.detection_api import DetectionApi
|
||||||
from frigate.detectors.detector_config import (
|
from frigate.detectors.detector_config import (
|
||||||
BaseDetectorConfig,
|
BaseDetectorConfig,
|
||||||
ModelTypeEnum,
|
|
||||||
InputTensorEnum,
|
|
||||||
PixelFormatEnum,
|
|
||||||
InputDTypeEnum,
|
|
||||||
)
|
)
|
||||||
from PIL import Image, ImageDraw, ImageFont
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user