build OpenCV into an Axis camera, embedded app

asked 2017-10-09 05:57:34 -0500

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

edit retag flag offensive close merge delete

Comments

1

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 !

berak gravatar imageberak ( 2017-10-09 06:25:02 -0500 )edit

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 [email protected]

I need to link with c++, Anyone knows how to do it?

axis cam embedded application with openCV gravatar imageaxis cam embedded application with openCV ( 2017-10-28 01:37:20 -0500 )edit