Giter Site home page Giter Site logo

image_morphing's Introduction

image morphing

build

git clone https://github.com/Voudy/image_morphing.git
cd image_morphing
mkdir build
cd build
cmake ..
make

run

./image_morphing img1 points1 img2 points2 frames output

img* - path to the image

points* - path to the corresponding points in format:

x1 y1
x2 y2

frames - number of frames (minimum 2)

output - path to output folder (it must exist)

result

links

image_morphing's People

Contributors

spirinegor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

image_morphing's Issues

problem installing your program

I tried to install your program, and I followed the instructions exactly, but I get an error message. I did the commands:

git clone https://github.com/Voudy/image_morphing.git
cd image_morphing
mkdir build
cd build
cmake ..

Everything works properly until I type in the last command make. When I do that, I receive the following error message:

[ 50%] Building CXX object CMakeFiles/image_morphing.dir/main.cpp.o /home/jr/image_morphing/main.cpp: In function ‘void draw_point(cv::Mat&, const Point2f&, const Scalar&)’: /home/jr/image_morphing/main.cpp:17:31: error: ‘CV_FILLED’ was not declared in this scope circle(img, fp, 2, color, CV_FILLED, CV_AA, 0); ^~~~~~~~~ /home/jr/image_morphing/main.cpp:17:31: note: suggested alternative: ‘__FILE’ circle(img, fp, 2, color, CV_FILLED, CV_AA, 0); ^~~~~~~~~ __FILE /home/jr/image_morphing/main.cpp:17:42: error: ‘CV_AA’ was not declared in this scope circle(img, fp, 2, color, CV_FILLED, CV_AA, 0); ^~~~~ /home/jr/image_morphing/main.cpp:17:42: note: suggested alternative: ‘CV_8U’ circle(img, fp, 2, color, CV_FILLED, CV_AA, 0); ^~~~~ CV_8U /home/jr/image_morphing/main.cpp: In function ‘void draw_triangulation(cv::Mat&, cv::Subdiv2D&, const Scalar&)’: /home/jr/image_morphing/main.cpp:32:56: error: ‘CV_AA’ was not declared in this scope line(img, pt[0], pt[1], delaunay_color, 1, CV_AA, 0); ^~~~~ /home/jr/image_morphing/main.cpp:32:56: note: suggested alternative: ‘CV_8U’ line(img, pt[0], pt[1], delaunay_color, 1, CV_AA, 0); ^~~~~ CV_8U CMakeFiles/image_morphing.dir/build.make:62: recipe for target 'CMakeFiles/image_morphing.dir/main.cpp.o' failed make[2]: *** [CMakeFiles/image_morphing.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/image_morphing.dir/all' failed make[1]: *** [CMakeFiles/image_morphing.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

Why is this occurring, and how do I think this problem? I am using Linux Mint.

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.