This file contains hidden or 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
import argparse, os, sys | |
from pathlib import Path | |
from typing import get_args | |
from PIL import Image | |
import numpy as np | |
import py360convert | |
img_extensions = {".jpg", ".png"} | |
def ec2_dir(path, fov, size, mode): |