code: def string_to_float(value):
      """
      Converts fraction to float
      """
      if value is None:
          logger.error("Input value is None!")
          return 0.0
      extracted = value.strip().split("/")
      cleaned = [float(x.strip()) for x in extracted]
      return cleaned[0] / cleaned[1]
  
imports: import os
  import cv2
  import queue
  import pytest
  import m3u8
  import logging
  import platform
  import tempfile
  from mpegdash.parser import MPEGDASHParser
  from vidgear.gears import CamGear, StreamGear
  from vidgear.gears.helper import logger_handler, validate_video
label_desc: Use image node_id 8 for calling a global function with example usage: string_to_float(value) and returns: unknown, int