Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add imageio importer, video and image, and exporter
This uses the newly released imageio conda package, which will probably change a bunch but we are managing the conda package for the time being. It uses freeimage for image importing and ffmpeg for video import/export. This relies on the LazyList functionality for lazily loading the videos.
- Loading branch information
1 parent
55dc933
commit 0954c57
Showing
13 changed files
with
522 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from .input import (import_image, import_images, | ||
from .input import (import_image, import_images, import_video, import_videos, | ||
import_landmark_file, import_landmark_files, | ||
import_pickle, import_pickles, | ||
import_builtin_asset, | ||
image_paths, landmark_file_paths, | ||
image_paths, landmark_file_paths, video_paths, | ||
data_path_to, data_dir_path, ls_builtin_assets) | ||
from .output import export_image, export_landmark_file, export_pickle | ||
from .output import (export_image, export_landmark_file, export_pickle, | ||
export_video) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .base import (import_image, import_images, | ||
from .base import (import_image, import_images, import_video, import_videos, | ||
import_builtin_asset, | ||
import_landmark_file, import_landmark_files, | ||
data_path_to, data_dir_path, ls_builtin_assets, | ||
image_paths, landmark_file_paths, | ||
image_paths, landmark_file_paths, video_paths, | ||
import_pickle, import_pickles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.