mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
People: Find all faces in videos #1806
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#1806
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jNullj on GitHub (Jun 17, 2023).
Describe what problem this solves and why this would be valuable to many users
When searching faces in videos i noticed that only faces from the thumbnail seem to show.
Videos can include multiple people in frames that do not show in the thumbnail.
Describe the solution you'd like
Searching for faces in videos in multiple frames, ideally with minimal impact on performance yet recognizing all faces in the video.
Describe alternatives you've considered
I am brainstorming here:
Additional context
That might be relevant to labels as well. But i think this would be trickier to implement as we can't really look for a specific change in frames like with faces. This might prove to be costly.
@ItsMeRitch commented on GitHub (Nov 28, 2023):
Would also love to see this implemented.
Even if it just simply created a set number of thumbnails per minute of video instead of just the 1 thumbnail and scan them all. Would be a first of its kind as I don't believe other similar software can do this, including Apple Photos.
@kamilzierke commented on GitHub (Dec 27, 2023):
Def. bumping this one. Could be done in phases or with two mentioned options;
@ItsMeRitch commented on GitHub (Dec 27, 2023):
I also think there is an aspect of video face recognition already there. When importing a video, a thumbnail is created and face recognition is carried out on that (correct me if I'm wrong) so the infrastructure should be there for it.
@kamilzierke commented on GitHub (Dec 27, 2023):
So I've read some documentation for Photoprism and it seems that it uses a pre-trained FaceNet model and it uses GO version of TensorFlow to work on the datasets. That means the face recognition is as good as the pre-trained model and is not being done locally "per se" and there are no model updates done locally.
Creating frames for the video using ffmpeg can be done as easy as:
PowerShell (in my case video files are in "sorted" subdirectory)
So as far as I don't know what I'm talking about it seems that we won't have any major face recognition upgrades unless we'll get a better pre-trained model for the purpose.