Skip to content

Commit

Permalink
[Fix] shorten requirements for more "lite"
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiyiMei committed Aug 31, 2023
1 parent b50448c commit 67d92e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/xrprimer/utils/ffmpeg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from pathlib import Path
from typing import Any, Tuple, Union

import cv2
import numpy as np

from .log_utils import get_logger
Expand Down Expand Up @@ -484,6 +483,8 @@ def images_to_array_opencv(
Returns:
np.ndarray: shape will be (f * h * w * 3).
"""
import cv2

check_path(
input_path=input_folder,
allowed_existence=[Existence.DirectoryExistNotEmpty],
Expand Down
1 change: 0 additions & 1 deletion requirements/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
numpy
scipy
1 change: 1 addition & 0 deletions requirements/synbody.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
imath
numpy
openexr
scipy

0 comments on commit 67d92e2

Please sign in to comment.