摘要
本文提出一种基于开源计算机视觉库OpenCV 实现Android 系统下文档去黑边的方法。介绍了如何在Android
中使用OpenCV,详细阐述了利用JNI 调用OpenCV 相关函数的具体步骤,即在调用摄像头时,所要考虑的内容,以及采
用Android NDK 生成共享库的关键过程。实验结果表明,此Android 应用程序对不同场景下不同种类的文档进行实时去黑边
的功能性能良好。
Abstract
This paper presents a method to remove the black edge of documents in Android system based on open source computer
vision library OpenCV. It introduces how to use OpenCV in Android, describes the specific steps of using JNI to call OpenCV
function, which should be considered in using the camera. It describes the key process of using Android NDK to generate sharing library.
The experimental results show that this Android application has good performance in removing black edge of documents in
different types under different scenarios.
关键词
可视化 /
去黑边 /
OpenCV /
系统设计
Key words
visualization /
remove black edge /
OpenCV /
system design
王咸锋.
利用OpenCV实现在Android 系统下
的文档去黑边[J]. 电脑与电信. 2016, 1(8): 1-5
Wang Xianfeng.
Method to Remove the Black Edge of Documents in Android System Based on OpenCV[J]. Computer & Telecommunication. 2016, 1(8): 1-5
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
基金
广东省科技计划资助项目,项目编号:2009A040103002。