diff options
Diffstat (limited to 'source/use_case/object_detection/src/MainLoop.cc')
-rw-r--r-- | source/use_case/object_detection/src/MainLoop.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/use_case/object_detection/src/MainLoop.cc b/source/use_case/object_detection/src/MainLoop.cc index 0f98c8a..acfc195 100644 --- a/source/use_case/object_detection/src/MainLoop.cc +++ b/source/use_case/object_detection/src/MainLoop.cc @@ -36,7 +36,7 @@ static void DisplayDetectionMenu() fflush(stdout); } -void main_loop(hal_platform& platform) +void main_loop() { arm::app::YoloFastestModel model; /* Model wrapper object. */ @@ -49,9 +49,8 @@ void main_loop(hal_platform& platform) /* Instantiate application context. */ arm::app::ApplicationContext caseContext; - arm::app::Profiler profiler{&platform, "object_detection"}; + arm::app::Profiler profiler{"object_detection"}; caseContext.Set<arm::app::Profiler&>("profiler", profiler); - caseContext.Set<hal_platform&>("platform", platform); caseContext.Set<arm::app::Model&>("model", model); caseContext.Set<uint32_t>("imgIndex", 0); arm::app::object_detection::DetectorPostprocessing postp; |