edit distance camera