Chalkaat augmented reality laser [closed]
I found this awesome augmented reality laser cnc laser cutter engraver that has got a serious grip on me. The only problem is that I am not a coder. I have installed opencv 2.3 I think and visual studio 2017. I donwloaded the source code from an instrucable here:
http://www.instructables.com/id/ChalK...) Specifically cutting.cpp
When I build the included code I get 23 errors and I don't know how to fix it. I have ordered a couple of books to learn c++ And opencv to learn to program. That's how serious I am. I have never wanted to build something more in my life but I need some serious help. Please help me http://answers.opencv.org, you're my only hope. The first error message says Node is ambiguous. I really desperately want to figure this out. It has consumed my thoughts for weeks.
I hope you don't mind I have included some if the code below. The first error says node is ambiguous. If anymore info is needed from me I will happily reply asap.
include <iostream>
include <vector>
include "cv.h"
include "highgui.h"
include <iostream>
include <fstream>
using namespace cv;
class Node { public: Node* parent; Node* child; int x, y;
Node(int, int);
Node();
};
Node::Node() { this->x = -1; this->y = -1; parent = NULL; child = NULL; } Node::Node(int x, int y) { this->x = x; this->y = y; parent = NULL; child = NULL; }
std::vector<node*> paths;
Node* generatePath(IplImage* img, int x, int y) {
whatever you're trying -- NOT with that code. you MUST not use opencv's dead, deprecated c-api.
also, opencv2.3 was a thing in 2011
mate, all you got is mould. wake up.
What's wrong with the code? Should I use a later version of opencv? Is there a better place to put the whole source code?
it's dead beef, along with your install. noone cares. do not try to fix it. throw it away.
So that sounds like a yes for a later version of opencv. It sounds like you don't like the source code from the site either. You have any useful suggestions to move this thing forward?
The internet yields either no results or no helpful results. I was hoping someone here might throw me a bone but I guess I'll just rtfm and do it myself. So I guess thanks for the replis.
I guess I spoke too soon. Thanks for the help.
even if you fix that shit , it still won't run. it's just too old, and was never maintained properly
You went above and beyond with your explanation. You're a solid guy. I'll have my nose in the books for a while.