Code Monkey home page Code Monkey logo

Comments (18)

ducha-aiki avatar ducha-aiki commented on May 28, 2024

First, I don't recommend to run it under root.
Second, you cannot run cpp file, you need to compile everything first.

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

I followed these commands! still the same (do you need to do something else?

cd vlfeat
make

cd ../build
cmake ..
make

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

root@80-78-247-58:/var/www/html/mods/build# cmake ..
Looking for OpenCV
Not found!
-- A library with BLAS API found.
-- A library with LAPACK API found.
OpenMP found
OPENMP FOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /var/www/html/mods/build

from mods.

ducha-aiki avatar ducha-aiki commented on May 28, 2024

OK, then you should go into build directory and run the compiled file, not .cpp

./mods examples/cat.png examples/cat2.png out1.png out2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

-bash: ./mods: No such file or directory

from mods.

ducha-aiki avatar ducha-aiki commented on May 28, 2024

Then you haven't compiled it (I don't see logs from running make command), or you are not in the correct directory

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

Снимок экрана 2021-05-06 в 17 56 05

from mods.

ducha-aiki avatar ducha-aiki commented on May 28, 2024

Of course, there is no mods file, there is "fatal error".
Another hint: when you run cmake command, it didn't find OpenCV.
So, please, install OpenCV first.

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

Снимок экрана 2021-05-06 в 19 20 06

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

Снимок экрана 2021-05-06 в 19 20 22

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

can't install this package, already tried different options

Снимок экрана 2021-05-06 в 19 21 23

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

ubuntu 20.04

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

sudo apt install python3-opencv - installed this package

from mods.

ducha-aiki avatar ducha-aiki commented on May 28, 2024

The instructions are for ubuntu 14.04, which is stated in the readme.
Sorry, but I cannot guide you on how to install OpenCV on modern Ubuntu, there are enough resources on the web on it, and also C++ development is tricky and might be time-consuming.

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

i installed it, here is the screen
117297147-124d7a80-aea0-11eb-8c97-92f11cdda1b7

from mods.

ducha-aiki avatar ducha-aiki commented on May 28, 2024

No, what you have installed is python version. Instead you need C++ libraries and headers, as MODS is C++ algorithm.

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

Installed ubuntu 16.04, everything was installed according to the instructions without errors and now this is

Снимок экрана 2021-05-06 в 19 54 35

from mods.

teo2022 avatar teo2022 commented on May 28, 2024

Снимок экрана 2021-05-06 в 19 59 13

from mods.

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.