Giter Site home page Giter Site logo

ygean / kiwisurfacedefectinspection Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 22.0 180 KB

基于数字图像处理开发的猕猴桃水果表面缺陷检测程序,搭配串口通信,与单片机进行通信,配合硬件设备的运行

C# 100.00%
csharp serialport image-processing surface-defects singlechip

kiwisurfacedefectinspection's Introduction

KiwiSurfaceDefectInspection 猕猴桃表面缺陷检测

what project does

国外水果检测方面的研究起步较早,已经做了很多工作。基于机器视觉和机电一体化技术的水果尺寸、形状和颜色分级技术已经成熟,基于实现自动化检测,给我们提供了许多宝贵的学习经验。 而目前国内对于水果颜色、纹理等检测研究上取得了很大的进展,有些技术也已经用于实际生产中。但运用机器视觉技术检测水果的外观缺陷依旧是一个研究难题。

图像采集

在白光照射下用工业相机对猕猴果实进行图像采集。

图像处理

主要是基于Microsoft Visual Studio2013设计的软件界面,运用相关的C#中图像处理和检测的算法,对猕猴桃果实图像进行去燥灰度化二值化处理图像并获取最佳阈值,最后图像分割得到猕猴桃果实表面的黑色斑点区域,包括真正的缺陷区域和梗萼区域。

原始图像

处理后图像

模块通信

相机自动采集图像并存至预先设定的盘内,计算机自动处理图像并将处理水果的结果通过串口通信传给单片机,处理结果分五个等级,单片机接受这个五个等级所携带的信息作出相应动作指令,实现自动化剔除缺陷水果果实和保留无缺陷水果果实的功能。

软件截图

installation & Dependency

1.install visual studio 2013 via download from official website

Example usage

just compile sln and run it,before that you should have some example pictrues in the folder

Meta

Allen Zhou – @Weibo[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/AllenZhou1996/KiwiSurfaceDefectInspection

kiwisurfacedefectinspection's People

Contributors

ygean avatar

Stargazers

 avatar  avatar  avatar lisidan avatar  avatar Yang Zou avatar  avatar  avatar mingda avatar  avatar  avatar  avatar  avatar tuchuang avatar Kevinzhang avatar  avatar  avatar wangming avatar Mohamed Saher avatar  avatar duqiu avatar  avatar 陈员 avatar Yu Zhenkun avatar  avatar  avatar Xavier Digrande avatar

Watchers

James Cloos avatar Aven avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.