Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MMehu
Beginner
1,475 Views

How to compile openCV based java app on Galileo ?

Hi,

I have developed an openCV based java application which scans parking area and shows vacant space.

I am able to run this app on my native ubuntu machine by using eclipse IDE.

I want to run this app on intel Galileo gen 2 baord

I have intel Galileo gen 2 with latest iot dev kit image on it.

I am booting it from SD card.

I have installed java-jdk se 1.8 on this board.

I am able to compile HelloWorld simple java program on board.

How to compile this whole java app on galileo with openCV ?

Where do i find all jar file dependencies like openCV.jar for galileo ?

0 Kudos
7 Replies
idata
Community Manager
76 Views

Hi Mehul,

 

 

Thanks for contacting us!

 

 

Regarding your first question, I would like to suggest to read this information: https://software.intel.com/en-us/java-for-iot-reference https://software.intel.com/en-us/java-for-iot-reference, there you'll find details about the Java* support provided as part of the Intel® IoT Developer Kit for supported devices such as the Intel® Galileo, and includes a section of building and running Java IoT applications.

 

 

I was looking for OpenCV .jar files, but I only found these information: http://www.java2s.com/Code/Jar/o/Downloadopencv241jar.htm http://www.java2s.com/Code/Jar/o/Downloadopencv241jar.htm, https://sourceforge.net/projects/opencvlibrary/files/ https://sourceforge.net/projects/opencvlibrary/files/, please check that.

 

 

Hope this information helps.

 

 

Regards,

 

-Yermi

 

idata
Community Manager
76 Views

Hi Mehul,

 

 

I would like to know if you have any updates or questions.

 

 

Regards,

 

-Yermi

 

MMehu
Beginner
76 Views

Hi,

I am now booting Debain Linux from SD card on intel Gailleo gen 2 board. Link: https://sourceforge.net/projects/galileodebian/ galileo-debian download | SourceForge.net

I have installed java jdk-8.1 on SD card. I am able to run my java application using java commands.

Now, I want to stream webcam on this debian distribution. I am not able install fswebcam utility because of no configuration of internet.

I have plugged LAN on to the board and it's configured to local IP.

I am clueless about how to set internet (public IP) settings on Debain.

Also, I am using connmanctl for wifi connection. I have executed below commands.

$ modprobe iwlwifi

$ connmanctl > enable wifi

$ connmanctl > scan wifi

Error /net/connman/technology/wifi: Not supported

Do you know hot to resolve it ?

Regards,

Mehul

idata
Community Manager
76 Views

Hi Mehul,

 

 

Debian Linux is supported by Emutex, unfortunately we don't support it, however you can put in contact with them following this link: https://www.google.com/url?q=https://emutex.com/&sa=D&sntz=1&usg=AFQjCNGt38Bmk96dRuZbwGykOqdr_qm0zg https://emutex.com/. As a suggestion, also you can look at this link: http://connman.connman.narkive.com/iZQ2G54G/wifi-scan-error http://connman.connman.narkive.com/iZQ2G54G/wifi-scan-error there you can find a suggestion about that issue.

 

 

Regards,

 

-Yermi

 

FTinetti
Honored Contributor I
76 Views

Hi Mehul2802,

Besides I think Yermi is right and you should contact Debian maintainers, maybe you should use the "usual" wifi Debian tools, as explained at https://wiki.debian.org/WiFi https://wiki.debian.org/WiFi

HTH,

Fernando.

idata
Community Manager
76 Views

Hi Mehul,

 

 

I would like to know if you could put in contact with Emutex.

 

 

Regards,

 

-Yermi

 

MMehu
Beginner
76 Views

Hi,

I will follow up on Emutex.

Thanks,

Mehul

Reply