def METHOD_NAME(tmpdir_factory) -> str:
    """
    Precompute exif and features to avoid doing
    it for every test which is time consuming.
    """
    src = os.path.join(data_generation.DATA_PATH, "lund", "images")
    path = str(tmpdir_factory.mktemp("lund"))
    os.symlink(src, os.path.join(path, "images"))
    # Use words matcher type to support the bow retrieval test
    data_generation.save_config({"matcher_type": "WORDS"}, path)
    args = argparse.Namespace()
    args.dataset = path
    data = dataset.DataSet(path)
    commands.extract_metadata.Command().run(data, args)
    commands.detect_features.Command().run(data, args)
    return path