Git Product home page Git Product logo

Comments (3)

brmarkus avatar brmarkus commented on May 28, 2024

Other than MS-Windows and C++ - do you have something specific in mind?

Have you tried following e.g. "https://docs.opencv.org/4.7.0/d3/d52/tutorial_windows_install.html" (for e.g. version v4.7 or any other version to select from the drop-down field in the upper-left corner)?

Do you need or have to build from source on your own?

Do you need a specific backend (like for NVIDIA-GPUs or Intel-GPUs/CPUs/VPUs, like using OpenVINO)?

When it is about an Intel-based environment (like CPU, GPU, VPU, FPGA), would it be possible for you to use OpenVINO (build from source or pre-built) (in the latest versions of OpenVINO there is no OpenCV contained anymore, but providing instructions for how to get it, how to install, which version to use as a specific version of OpenVINO is validated using a specific version of OpenCV)?

from learnopencv.

kabiri avatar kabiri commented on May 28, 2024

I built OpenCV 4.7 on Windows using CMake for GCC. However, I couldn't build Caffe. I installed TensorFlow on GCC and successfully ran a test program with it. But when I run the examples from this repository, the program gets stuck at the net.forward line without any error.

That's why I installed Microsoft Visual Studio 2022 Community and I want to install and configure OpenCV 4.7 for it. The reason I asked these questions here was to make sure that I have done everything correctly.

Since I don't have an NVIDIA graphics card, I want to use DNN with CPU.

from learnopencv.

brmarkus avatar brmarkus commented on May 28, 2024

Could be a version conflict (e.g. version and/or supported layers and/or operations of the model) between the used framework (Tensorflow) and the model.

Maybe additional logs during loading of DNN might help via enableModelDiagnostics():
https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#ga9c06b170a462e97b413163aadb9869f9

Not every example documents the needed requirements (or documentation or requirements.txt is outdated), or sample-resources (like model-file) (like "the model-file X was created/trained/exported using Framework Y in version Z").

from learnopencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.