nextcloud / nextcloud/recognize

Import XMP face regions

Open
#761 1 comment 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
PHP
Stars
699
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Describe the feature you'd like to request

I have a large number of images (tens of thousands) that I have tagged with face regions. This has involved countless hours using automated tools (such as Adobe Lightroom, Digikam, Picasa, etc) and performing manual adjustments, additions and corrections.

I would like to be able to import existing XMP face regions from these images into Recognize.

Note that one could leverage these existing regions to facilitate training for Recognize.

Describe the solution you'd like

A command line and/or UI function would import existing XMF face regions into the Recognize database, and run training for each of the individuals and their associated regions.

MVP

  • Import MWG XMP face regions (used by all of the above common tools), overwriting any existing face regions.

Possible Extended Features:

  • Merge XMP regions with existing face regions by name. Imported duplicate face regions in a given image can be either ignored or can replace the existing region (user option).
  • Re-import changed XMP region information and update corresponding image information in Recognize.
  • Support other face region standards.
  • Specify name or names of persons to import
Describe alternatives you've considered

Re-tagging faces using Recognize: This is very undesirable, as it wastes a tremendous amount of prior work, as well as wasting valuable verified face correlations.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the existing face-region import, database, and training entry points, then determine how MWG XMP regions are represented and how names map to individuals. Done means the MVP imports MWG regions, overwrites existing regions, and trains the associated individuals.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, xml
Domain
backend, cli, database, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.