It's important to remember:
* Photographic memory is extremely rare. It's a highly debated topic in science and psychology, and while some individuals claim to have it, there's no scientific consensus or consistent evidence to support its existence.
* Actors often develop strong memorization skills. This is part of their craft, and it's likely that Martin Freeman, like many other actors, has honed his ability to remember lines and scripts. However, this is a learned skill, not an innate ability like photographic memory.
Therefore, it's more plausible that Martin Freeman simply has a great memory and strong work ethic than possessing photographic memory.