File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ local function reset_preferences()
154
154
fc .unknown_tag .text = " unknown_person"
155
155
fc .no_persons_found_tag .text = " no_persons_found"
156
156
fc .ignore_tags .text = " "
157
- fc .category_tags .text = " People "
157
+ fc .category_tags .text = " "
158
158
fc .known_image_path .value = dt .configuration .config_dir .. " /face_recognition"
159
159
fc .tolerance .value = 0.6
160
160
fc .num_cores .value = - 1
@@ -306,7 +306,7 @@ local function face_recognition ()
306
306
t = nonpersonsfoundTag
307
307
end
308
308
if t ~= " " and t ~= nil then
309
- if categoryTagString ~= " " then
309
+ if categoryTagString ~= " " and t ~= nonpersonsfoundTag then
310
310
t = categoryTagString .. " |" .. t
311
311
end
312
312
dt .print_log (" ImgId:" .. img .id .. " Tag:" .. t )
You can’t perform that action at this time.
0 commit comments