class_docstr: Read a document from multiple extensions
class_docstr_tok: ["Read","a","document","from","multiple","extensions"]
docstr: Read an image file (or a collection of image files) and convert it into an image in numpy format
  
  >>> from doctr.io import DocumentFile
  >>> pages = DocumentFile.from_images(["path/to/your/page1.png", "path/to/your/page2.png"])
  
  Args:
  ----
      files: the path to the image file or a binary stream, or a collection of those
      **kwargs: additional parameters to :meth:`doctr.io.image.read_img_as_numpy`
  
  Returns:
  -------
      the list of pages decoded as numpy ndarray of shape H x W x 3
docstr_tok: ["Read","an","image","file","(","or","a","collection","of","image","files",")","and","convert","it","into","an","image","in","numpy","format",">",">",">","from","doctr.io","import","DocumentFile",">",">",">","pages","=","DocumentFile.from_images","(","[","``","path\/to\/your\/page1.png","''",",","``","path\/to\/your\/page2.png","''","]",")","Args",":","--","--","files",":","the","path","to","the","image","file","or","a","binary","stream",",","or","a","collection","of","those","*","*","kwargs",":","additional","parameters","to",":","meth",":","`","doctr.io.image.read_img_as_numpy","`","Returns",":","--","--","--","-","the","list","of","pages","decoded","as","numpy","ndarray","of","shape","H","x","W","x","3"]
code: def from_images(
      cls, files: Union[Sequence[AbstractFile], AbstractFile], **kwargs
  ) -> List[np.ndarray]:
      """Read an image file (or a collection of image files) and convert it into an image in numpy format
  
      >>> from doctr.io import DocumentFile
      >>> pages = DocumentFile.from_images(["path/to/your/page1.png", "path/to/your/page2.png"])
  
      Args:
      ----
          files: the path to the image file or a binary stream, or a collection of those
          **kwargs: additional parameters to :meth:`doctr.io.image.read_img_as_numpy`
  
      Returns:
      -------
          the list of pages decoded as numpy ndarray of shape H x W x 3
      """
      if isinstance(files, (str, Path, bytes)):
          files = [files]
  
      return [read_img_as_numpy(file, **kwargs) for file in files]
  
file_path: doctr/doctr/io/reader.py
imports: from pathlib import Path
  from typing import List, Sequence, Union
  import numpy
  from doctr.utils.common_types import AbstractFile
  from .html import read_html
  from .image import read_img_as_numpy
  from .pdf import read_pdf
label_desc: Use image node_id 3 for calling the DocumentFile obj's underlying member method code with example usage: obj.from_images(cls, files) and returns: unknown