KwstasEpp
Posts: 4
Joined: Mon Mar 17, 2014 12:30 pm

OpenCv executable

Thu Nov 03, 2016 5:11 pm

Good evening.
I have a code written to OpenCv and then i made an executable for Linux.
In the Linux command window i use: ./eye_section_v4 /media/sf_Win/Testing_Videos/s0505.avi 1 0.99 240 /media/sf_Win/eclipse_workspace/eye_section_v4/Release 3 1 1 that command to run the exe eye_section_v4 .
I tried to run the same command in raspbian but i get error.
This is how i run the command.
workon cv /* so i work inside the opencv enviroment
cd Release /* to move inside the code's file
sudo sh ./eye_section_v4 /media/sf_Win/Testing_Videos/s0505.avi 1 0.99 240 /media/sf_Win/eclipse_workspace/eye_section_v4/Release 3 1 1
i also try without sudo sh and without workon cv but i always get an error....
Any suggestions? :x

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: OpenCv executable

Thu Nov 03, 2016 5:20 pm

unless your code has been specifically compiled for the ARM processor found in the RPi, It is not going to work.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

KwstasEpp
Posts: 4
Joined: Mon Mar 17, 2014 12:30 pm

Re: OpenCv executable

Thu Nov 03, 2016 6:10 pm

Do you know if it's possible to compile a source code from opencv for that processor?

Return to “Advanced users”