[BUG] Same person detected as two different faces #868

Closed
opened 2026-02-04 23:11:41 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @lavinir on GitHub (May 20, 2023).

The bug

First - Addition of face recognition is awesome!
I haven't seen a way to indicate that two face groups recognized by Immich are of the same person.

In Google Photos, when setting a name to a person you can add a new one or choose from one that was already created.
Would be great to have that ability.

Keep up the great work!

The OS that Immich Server is running on

Ubuntu 22.10

Version of Immich Server

v1.56.2

Version of Immich Mobile App

1.56.0 build.79

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    user: "0:5555"
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:release
    entrypoint: ["/bin/sh", "./start-server.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-microservices:
    user: "0:5555"
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:release
    entrypoint: ["/bin/sh", "./start-microservices.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-machine-learning:
    user: "0:5555"
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:release
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  immich-web:
    user: "0:5555"
    container_name: immich_web
    image: ghcr.io/immich-app/immich-web:release
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    env_file:
      - .env
    restart: always

  typesense:
    user: "0:5555"
    container_name: immich_typesense
    image: typesense/typesense:0.24.0
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
    logging:
      driver: none
    volumes:
      - tsdata:/data
    restart: always

  redis:
    user: "0:5555"
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    user: "0:5555"
    container_name: immich_postgres
    image: postgres:14
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    user: "0:5555"
    container_name: immich_proxy
    image: ghcr.io/immich-app/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

volumes:
  pgdata:
  model-cache:
  tsdata:

Your .env content

###################################################################################
# Database
###################################################################################

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=**Redacted**
DB_DATABASE_NAME=immich


###################################################################################
# Redis
###################################################################################

REDIS_HOSTNAME=immich_redis

###################################################################################
# Upload File Location
#
# This is the location where uploaded files are stored.
###################################################################################

UPLOAD_LOCATION=/mnt/immich


###################################################################################
# Typesense
###################################################################################
TYPESENSE_API_KEY=**Redacted**
IMMICH_API_URL_EXTERNAL=**Redacted**

Reproduction steps

1. Start All Face Recognition Job
2. Two Face groups created for same person
3. Set name for first group
4. Cannot specify second group belongs to same person

Additional information

No response

Originally created by @lavinir on GitHub (May 20, 2023). ### The bug First - Addition of face recognition is awesome! I haven't seen a way to indicate that two face groups recognized by Immich are of the same person. In Google Photos, when setting a name to a person you can add a new one or choose from one that was already created. Would be great to have that ability. Keep up the great work! ### The OS that Immich Server is running on Ubuntu 22.10 ### Version of Immich Server v1.56.2 ### Version of Immich Mobile App 1.56.0 build.79 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" services: immich-server: user: "0:5555" container_name: immich_server image: ghcr.io/immich-app/immich-server:release entrypoint: ["/bin/sh", "./start-server.sh"] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env depends_on: - redis - database - typesense restart: always immich-microservices: user: "0:5555" container_name: immich_microservices image: ghcr.io/immich-app/immich-server:release entrypoint: ["/bin/sh", "./start-microservices.sh"] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env depends_on: - redis - database - typesense restart: always immich-machine-learning: user: "0:5555" container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:release volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - model-cache:/cache env_file: - .env restart: always immich-web: user: "0:5555" container_name: immich_web image: ghcr.io/immich-app/immich-web:release entrypoint: ["/bin/sh", "./entrypoint.sh"] env_file: - .env restart: always typesense: user: "0:5555" container_name: immich_typesense image: typesense/typesense:0.24.0 environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data logging: driver: none volumes: - tsdata:/data restart: always redis: user: "0:5555" container_name: immich_redis image: redis:6.2 restart: always database: user: "0:5555" container_name: immich_postgres image: postgres:14 env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} PG_DATA: /var/lib/postgresql/data volumes: - pgdata:/var/lib/postgresql/data restart: always immich-proxy: user: "0:5555" container_name: immich_proxy image: ghcr.io/immich-app/immich-proxy:release environment: # Make sure these values get passed through from the env file - IMMICH_SERVER_URL - IMMICH_WEB_URL ports: - 2283:8080 logging: driver: none depends_on: - immich-server restart: always volumes: pgdata: model-cache: tsdata: ``` ### Your .env content ```Shell ################################################################################### # Database ################################################################################### DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_PASSWORD=**Redacted** DB_DATABASE_NAME=immich ################################################################################### # Redis ################################################################################### REDIS_HOSTNAME=immich_redis ################################################################################### # Upload File Location # # This is the location where uploaded files are stored. ################################################################################### UPLOAD_LOCATION=/mnt/immich ################################################################################### # Typesense ################################################################################### TYPESENSE_API_KEY=**Redacted** IMMICH_API_URL_EXTERNAL=**Redacted** ``` ### Reproduction steps ```bash 1. Start All Face Recognition Job 2. Two Face groups created for same person 3. Set name for first group 4. Cannot specify second group belongs to same person ``` ### Additional information _No response_
Author
Owner

@samip5 commented on GitHub (May 20, 2023):

Currently there is no way to merge faces, but it's coming according to @alextran1502 in the next iteration of the feature.

@samip5 commented on GitHub (May 20, 2023): Currently there is no way to merge faces, but it's coming according to @alextran1502 in the next iteration of the feature.
Author
Owner

@DrSpaldo commented on GitHub (May 21, 2023):

I don't think this is a bug, just needs person merging. Which as @samip5 said, it will be in an upcoming release

@DrSpaldo commented on GitHub (May 21, 2023): I don't think this is a bug, just needs person merging. Which as @samip5 said, it will be in an upcoming release
Author
Owner

@bo0tzz commented on GitHub (May 21, 2023):

Closing this in favour of #2472

@bo0tzz commented on GitHub (May 21, 2023): Closing this in favour of #2472
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#868