class_docstr: Custom Generator using OpenCV, for testing bidirectional mode.
class_docstr_tok: ["Custom","Generator","using","OpenCV",",","for","testing","bidirectional","mode","."]
code: def __init__(self, server=None, data=""):
      # initialize global params
      assert not (server is None), "Invalid Value"
      # assign server
      self.server = server
      # data
      self.data = data
  
file_path: vidgear/vidgear/tests/network_tests/asyncio_tests/test_netgear_async.py
imports: import os
  import cv2
  import sys
  import queue
  import platform
  import numpy
  import pytest
  import asyncio
  import functools
  import logging
  import tempfile
  from vidgear.gears.asyncio import NetGear_Async
  from vidgear.gears.helper import logger_handler
label_desc: Use image node_id 1 to create a new Custom_Generator object  with example: obj = Custom_Generator(server, data)