Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
karakurai committed Oct 8, 2024
1 parent 25c68aa commit 054fdf4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions conf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions text.ini
Original file line number Diff line number Diff line change
@@ -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!
Expand Down

0 comments on commit 054fdf4

Please sign in to comment.