class_docstr: ObjectDetection dataset as DataFrame.
  
  Parameters
  ----------
  data : the input for pd.DataFrame
      The input data.
  dataset_type : str, optional
      The dataset type, can be voc/coco or more, used to annotate the optional fields.
  classes : list of str, optional
      The class synsets for this dataset, if `None`, it will infer from the data.
class_docstr_tok: ["ObjectDetection","dataset","as","DataFrame",".","Parameters","--","--","--","--","--","data",":","the","input","for","pd.DataFrame","The","input","data",".","dataset_type",":","str",",","optional","The","dataset","type",",","can","be","voc\/coco","or","more",",","used","to","annotate","the","optional","fields",".","classes",":","list","of","str",",","optional","The","class","synsets","for","this","dataset",",","if","`","None","`",",","it","will","infer","from","the","data","."]
docstr: create from a label function
code: def from_label_func(cls, fn):
      """create from a label function"""
      raise NotImplementedError
  
imports: import logging
  import os
  from pathlib import Path
  import warnings
  import numpy
  import pandas
  import matplotlib.pyplot
  from PIL import Image
  import cv2
  from ..data import is_url, url_data
  from ...utils.filesystem import import_try_install
  from ...utils.bbox import bbox_xywh_to_xyxy, bbox_clip_xyxy
label_desc: Use image node_id 6 for calling the ObjectDetectionDataset obj's underlying member method code with example usage: obj.from_label_func(cls, fn) without return types