I am working on a real time object detection project, I have trained the data and saved the model into .h5 file and then I have red in an article that to load that file to detect object in opecCV you need to convert it in onnx format , but when ever am installing it either using pip or Conda its not importing, and when I downgraded tensor to 2.1.0 it worked but this time my .h5 file is showing error due to older version on TensorFlow.
currently am using tensorflow=2.9 python = 3.8
can anyone please help me out with this, or any other suggestions to make this work.
to summarise, I want to use opencv for real time object detection