SavyaSanchi's picture
|
download
raw
1.83 kB

OpenCV Model Zoo – Contribution Guidelines

Welcome to the OpenCV Model Zoo! A zoo for models tuned for OpenCV DNN.


πŸ”— How to Contribute

  1. Create a pull request on https://huggingface.co/opencv/opencv_contribution.
  2. Add your files in the pull request branch following the structure below.
  3. Push your changes.
  4. We’ll review your code and model data in the Hugging Face Discussions and merge it.

πŸ“ Folder Structure

Each model directory must follow this structure:

<root-folder>/                        # i.e. opencv_contribution
β”œβ”€β”€ CMakeLists.txt                     # For C++ example build integration
β”œβ”€β”€ LICENSE                            # Your model’s license
β”œβ”€β”€ README.md                          # Model description & usage
β”œβ”€β”€ <model_name>_<year><mon>.onnx      # ONNX (or supported) model file;
β”‚                                       # use 4-digit year + three-letter month,
β”‚                                       # e.g. edge_detection_dexined_2024sep.onnx
β”œβ”€β”€ demo.cpp                           # (Optional) C++ demo
β”œβ”€β”€ demo.py                            # Python demo
β”œβ”€β”€ <helper_script>.py                 # (Optional) model‐loading wrapper
└── example_outputs/                   # Sample inputs & outputs
    β”œβ”€β”€ input_image.png                # At least one representative input
    β”œβ”€β”€ output_image.png               # Your model’s result on that input
    └── result.gif                     # (Optional) output animation

License

OpenCV Zoo is licensed under the Apache 2.0 license. Please refer to licenses of different models.

Xet Storage Details

Size:
1.83 kB
Β·
Xet hash:
127dc42de4a1d0b3049e2208a8a492db8c0e9acc1f6de32113e2f1d1aa340b20

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.