I don't think so. Function that loads sequence of images from directory should not depends on tests infra (one for accuracy and second for perf tests).
I believe that full directory path is enough here, other complications are totally useless.