I have a project which is about getting an input video (basically a surveillance system video) and returning key frames of video (assume that video has only one shot) which have following features in order of importance:
1- best quality of frame (for example not too dark, best contrast possible, ...).
2- most detected faces.
3- faces which are more recognizable and clear are more preferable
I was thinking of some scoring function (or probably fitness function) which helps me to score frames in terms of mentioned metrics.
Does anyone has any idea how to implement this?
Also if anyone knows references or github codes, articles or papers, I would appreciate it to share it with me
Thanks