add detect duplicate photos on local db