From 054fdf4009da05b30187cef81598beb026cd1d3b Mon Sep 17 00:00:00 2001 From: karakurai Date: Tue, 8 Oct 2024 16:37:46 +0900 Subject: [PATCH] fix bug --- conf.ini | 6 +++--- image_processing.py | 2 +- text.ini | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf.ini b/conf.ini index 9147c8a..1c9e0f5 100644 --- a/conf.ini +++ b/conf.ini @@ -19,9 +19,9 @@ use_camera_1 = True use_camera_2 = True use_camera_3 = True use_camera_4 = True -image_max_width = 800 -image_max_height = 800 -display_fps = 3 +image_max_width = 3600 +image_max_height = 3600 +display_fps = 6 multi_frame_smoothing_flg = False adfi_api_url = https://us.adfi.karakurai.com/API/ap/api/apidata/ dataset_dir = ./dataset diff --git a/image_processing.py b/image_processing.py index a768928..72cb35a 100644 --- a/image_processing.py +++ b/image_processing.py @@ -196,7 +196,7 @@ def multi_frame_smoothing( list_len = len(img_list) img = None if flg != "True" or list_len == 1: - img = img_list[0] + img = img_list[-1] elif list_len > 1: img = np.zeros(img_list[0].shape, dtype="float16") for tmp_img in img_list: diff --git a/text.ini b/text.ini index 649e16f..a7b40bc 100644 --- a/text.ini +++ b/text.ini @@ -1,7 +1,7 @@ [DEFAULT] -version = 1.3.0 +version = 1.3.1 adfi_app_name = Visual Inspection Application for ADFI -label_copyright = Copyright (c) 2023 ADFI, AI Robotics LTD. All rights reserved. +label_copyright = Copyright (c) 2023 ADFI, Karakurai Inc. All rights reserved. label_adfi = Visual Inspection Application for ADFI label_visual = Visual Inspection Application for ADFI (https://adfi.jp) label_choose = Choose Your Language!