diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 603365964a..0aee356f70 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -195,6 +195,9 @@ if(DOXYGEN_FOUND) list(APPEND CMAKE_DOXYGEN_HTML_FILES "${CMAKE_CURRENT_SOURCE_DIR}/bodybg.png") # list(APPEND CMAKE_DOXYGEN_HTML_FILES "${CMAKE_CURRENT_SOURCE_DIR}/mymath.sty") list(APPEND CMAKE_DOXYGEN_HTML_FILES "${CMAKE_CURRENT_SOURCE_DIR}/tutorial-utils.js") + # Version dropdown list (shared single source with the Sphinx 5.0 build). Copied + # next to the other doxygen assets so header.html can load it via $relpath^. + list(APPEND CMAKE_DOXYGEN_HTML_FILES "${CMAKE_CURRENT_SOURCE_DIR}/../docs_sphinx/_static/version.js") string(REPLACE ";" " \\\n" CMAKE_DOXYGEN_HTML_FILES "${CMAKE_DOXYGEN_HTML_FILES}") if (DOXYGEN_DOT_EXECUTABLE) diff --git a/doc/header.html b/doc/header.html index acc89667a7..14fec1a73f 100644 --- a/doc/header.html +++ b/doc/header.html @@ -18,6 +18,7 @@ + diff --git a/doc/js_tutorials/js_assets/js_image_classification.html b/doc/js_tutorials/js_assets/js_image_classification.html index f33109eeab..45c11893d6 100644 --- a/doc/js_tutorials/js_assets/js_image_classification.html +++ b/doc/js_tutorials/js_assets/js_image_classification.html @@ -11,7 +11,7 @@
This tutorial shows you how to write an image classification example with OpenCV.js.
- To try the example you should click the modelFile button(and configFile button if needed) to upload inference model.
+ To try the example you should click the modelFile button to upload an ONNX model file.
You can find the model URLs and parameters in the model info section.
Then You should change the parameters in the first code snippet according to the uploaded model.
Finally click Try it button to see the result. You can choose any other images.
@@ -69,13 +69,6 @@
-
This tutorial shows you how to write an image classification example with OpenCV.js.
- To try the example you should click the modelFile button(and configFile button if needed) to upload inference model.
+ To try the example you should click the modelFile button to upload an ONNX model file.
You can find the model URLs and parameters in the model info section.
Then You should change the parameters in the first code snippet according to the uploaded model.
Finally click Try it button to see the result. You can choose any other images.
@@ -70,13 +70,6 @@
-
This tutorial shows you how to write an image classification example with camera.
- To try the example you should click the modelFile button(and configFile button if needed) to upload inference model.
+ To try the example you should click the modelFile button to upload an ONNX model file.
You can find the model URLs and parameters in the model info section.
Then You should change the parameters in the first code snippet according to the uploaded model.
Finally click Start/Stop button to start or stop the camera capture.
@@ -69,13 +69,6 @@
-
This tutorial shows you how to write an object detection example with OpenCV.js.
- To try the example you should click the modelFile button(and configFile button if needed) to upload inference model.
+ To try the example you should click the modelFile button to upload an ONNX model file.
You can find the model URLs and parameters in the model info section.
Then You should change the parameters in the first code snippet according to the uploaded model.
Finally click Try it button to see the result. You can choose any other images.
@@ -45,13 +45,6 @@
-