简体   繁体   English

Opencv 适用于 Java 手机 midp2.0 mid1.0

[英]Opencv for Java mobile phones midp2.0 mid1.0

I have recently completed my project in OpenCV 2.0 c++ This project is aimed for Visually Impaired persons.我最近完成了我的项目 OpenCV 2.0 c++ 这个项目是针对视障人士的。 Basically Image is take through cam and then it is processed to guide the blind/ visually impaired person.基本上图像是通过摄像头拍摄的,然后经过处理以引导盲人/视障人士。

Now I want to test this project on a mobile device in different real scenarios.现在我想在不同的真实场景下在移动设备上测试这个项目。 I have two mobile phones(sony erricsson w810i and LG KS360) which support JAVA apps.我有两部支持 JAVA 应用程序的手机(索尼爱立信 w810i 和 LG KS360)。 And I also read that OpenCV wrapper functions for java are available with the name JAVACV.而且我还读到 java 的 OpenCV 包装函数可使用名称 JAVACV。

Can someone guide me if it is possible to write an app for testing my implementation?如果可以编写一个应用程序来测试我的实现,有人可以指导我吗? is JAVACV compatible with these old JAVA phones? JAVACV 是否与这些旧的 JAVA 手机兼容?

It is not possible.这是不可能的。 First of all because JavaCV is just a wrapper , that means that openCV must be installed on the system so that JavaCV can provide an interface through which you can access the methods in openCV.首先因为JavaCV只是一个包装器,这意味着openCV必须安装在系统上,以便JavaCV可以提供一个接口,通过它您可以访问openCV中的方法。

Since you can not run opencv on these older phones, you will not be able to use JavaCV由于您无法在这些旧手机上运行 opencv,因此您将无法使用 JavaCV

Moreover, JavaCV requires Java SE 1.6, and the phones only support what is included in the MIDP specification.此外,JavaCV 需要 Java SE 1.6,而手机仅支持 MIDP 规范中包含的内容。

Mobile apps based on MIDP can not use the whole set of functions/classes found in Java 1.6(eg. you cannot use generics like List<?> , Map<?> etc.)基于 MIDP 的移动应用程序不能使用 Java 1.6 中的整套函数/类(例如,您不能使用 generics 等List<?>Map<?>等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM