Load Faster R-CNN Object Detection net with Tensorflow 2.5.0 and OpenCV 4.3 DNN package

This page summarizes the projects mentioned and recommended in the original post on /r/tensorflow

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • OpenCV

    Open Source Computer Vision Library

    Now I want to use the OpenCV (4.3.0) dnn library from opencv's extra modules to load the net in my java environment. When executing "readNetFromTensorflow" I get some errors. Seems that you need to save your TF model into a "FrozenGraph" in order to be able to use it in openCV: https://github.com/opencv/opencv/issues/16879 https://github.com/opencv/opencv/issues/16582 https://github.com/opencv/opencv/issues/18005

  • models

    Models and examples built with TensorFlow

    However for some reasons TF2 doesn't support the export to a frozen graph anymore. There are some workarounds: https://medium.com/@sebastingarcaacosta/how-to-export-a-tensorflow-2-x-keras-model-to-a-frozen-and-optimized-graph-39740846d9eb https://leimao.github.io/blog/Save-Load-Inference-From-TF2-Frozen-Graph/ https://github.com/tensorflow/models/blob/master/research/object_detection/export_inference_graph.py

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • tensorflow

    An Open Source Machine Learning Framework for Everyone

    [1]: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/tools/freeze_graph_test.py [2]: https://leimao.github.io/blog/Save-Load-Inference-From-TF2-Frozen-Graph/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts