forked from Github/frigate
Catch hailo initialization error (#12558)
This commit is contained in:
@@ -3,6 +3,8 @@ import os
|
||||
import urllib.request
|
||||
|
||||
import numpy as np
|
||||
|
||||
try:
|
||||
from hailo_platform import (
|
||||
HEF,
|
||||
ConfigureParams,
|
||||
@@ -14,6 +16,9 @@ from hailo_platform import (
|
||||
OutputVStreamParams,
|
||||
VDevice,
|
||||
)
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from typing_extensions import Literal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user