build OpenCV into an Axis camera, embedded app
Hello. I need to build OpenCV for an Axis camera (embedded app). My question is how can I install the desired modules into the cam to use my code written in c++ ?
Thanks a lot
have a look here
it's unanswered, but that's somehow the way to go (after you got their sdk, ofc.)
also: http://docs.opencv.org/master/d0/d76/...
and good luck !
Hi! Finally i got this code:
prefix2=~/build_artpec4/ prefix1=~/build_artpec4 exec_prefix=${prefix2}
includedir_old=${prefix2}/include/opencv
includedir_new=${prefix2}/include
LIBS += ${exec_prefix}/lib/libopencv_ml.a ${exec_prefix}/lib/libopencv_stitching.a ${exec_prefix}/lib/libopencv_objdetect.a ${exec_prefix}/lib/libopencv_calib3d.a ${exec_prefix}/lib/libopencv_features2d.a ${exec_prefix}/lib/libopencv_highgui.a ${exec_prefix}/lib/libopencv_flann.a ${prefix1}/lib/libopencv_ts.a
CFLAGS +=-I${includedir_old} -I${includedir_new}
CXXFLAGS +=-I${includedir_old} -I${includedir_new} $(PROGS):$(OBJS) $(CXX) $(LDFLAGS) $^ $(LIBS)$(LDLIBS) -o $@
I need to link with c++, Anyone knows how to do it?