### **Calculator of total money of coins in Turkish currency.**
> **1.Introduction**
-> The main goal of the project is coin detection and calculating the total amount of money
in the given input image. I followed some steps to detect the coins which are
preprocessing of the image that includes edge detection, binarizing, morphological operations,
and creating an algorithm that is based on the reference coin. Reference coin in this project
will be 1TL. And after determining reference coin, we sort the areas
of the coins which detected in the image. After all, we create an algorithm according to the
ratio which is “the area of the reference coin/sorted areas of the coins” with scaling it by
“sqrt()” operator. With respect to the scaled values, we create the ranges between (0,1) and,
we put the coin values on that ranges with some adjustment. Furthermore, we indicate the
results on GUI application.GUI application is created by APP Designer.
> **2.Preprocessing and Analyzing Image**
-> To detect the coins we need some processes on the image.These processes are important
because we need background and foreground relative to detect coins. These processes
includes grayscaling the image, edge detection, binarizing and morphological operations.
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/aa2d684e-2d8b-401e-9fdf-e5391c8a8887)
> **3.Plotting Image Results**
-> The result image after image prepropcessing.
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/34760a47-6b34-45d5-82b4-18f9668bb167)
-> The result image that shows the circled coins, their vlaues and the total money of the input image.
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/70aeb4fe-12ab-4cd1-9944-d18d69e3f709)
> **4.GUI Application Interface**
-> GUI Application Interface images are shown below.
> > **4.1- GUI applicaiton Interface**
> >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/8e071b41-f56c-403a-b0dd-7a37fb7247c9)
> > **4.2- GUI after “Add an Image” button**
> >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/82459587-b8ba-414e-8190-77347a1a0c3c)
> > **4.3- GUI after “Preprocessing” button**
> >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/54d8a6d1-9b2c-4668-af77-eedf1aa8053d)
> > **4.4- GUI after “Calculator” button**
> >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/0829bc81-5958-48d3-a7fc-5bd4bc64b123)
> **5. Strong and weak sides of the methods**
> > **Weak Sides**
> > > 1-) Changes in shadow, brightness and contrast in the background can cause some errors in our output.
This can happen when using a certain threshold value. For example, we set this threshold value to 0.2,
but it may not be appropriate for a different image.
To avoid such errors and to be able to apply operations more generally, we usually adjust for input
images whose background and brightness do not change much. That is, when choosing a particular
threshold value, we have generally performed our operations with images where the background and
brightness are similar.
To improve suggestions : We can use machine learning to solve this problem. We can build a model
for image segmentation tasks. We can train a model from a diverse dataset to learn the optimal
parameters for different types of images. Evolutionary neural networks are particularly effective for
these tasks.
> > > 2-) Since the difference in area between 0.05 and 0.1 coins is very small, in some pictures 0.05 TL can
be perceived as 0.1 TL and 0.1 TL as 0.05 TL.Also, the images where 1 TL’s are not in it does not
work.Because we adjusted the reference point according to the 1 TL’s area.
> > > -> The distortion effect due to background and not taking 1TL in the input image is shown below.
> > >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/4f85474c-e417-4155-af0b-cd09bf50a185)
> > **Strong Sides**
> > > -> We reached very good efficiency with respect to the environment of the images we stated.
Also we had very good results in the situations where the coins are overpallapping on each
other. Our code still figured out detecting the coins.
> > >
![image](https://github.com/IsaErayy/Calculation-Total-Money-of-Turkis-Coins-with-MATLAB/assets/162883392/f7f26807-e493-43d1-8f7f-52d30c257d4c)
> > > -> RMSE = sqrt [(Σ(Pi – Oi)²) / n]
Here, Pi denotes the predicted value, Oi represents the observed value, and n is the total
number of observations or data points. The sum of the squared differences between the
predicted and observed values is divided by the number of observations, and the square
root of the result is taken to yield the RMSE.According the 39 input image in our
dataset we have obtained RMSE value as “0.29”. This is very good result for an
experiment.
没有合适的资源?快使用搜索试试~ 我知道了~
MATLAB 计算土耳其货币的硬币总金额.zip
共42个文件
jpeg:39个
mlapp:1个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 6 浏览量
2024-05-03
23:22:06
上传
评论
收藏 1.11MB ZIP 举报
温馨提示
1.版本:matlab2014/2019a/2021a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
资源推荐
资源详情
资源评论
收起资源包目录
MATLAB 计算土耳其货币的硬币总金额.zip (42个子文件)
MATLAB 计算土耳其货币的硬币总金额
Calculation_Total_Money_of_Coins_in_Turkish_Currency-main
calculator.m 5KB
calculator_GUI.mlapp 25KB
dataset
coin36.jpeg 36KB
coin11.jpeg 54KB
coin7.jpeg 31KB
coin15.jpeg 49KB
coin22.jpeg 31KB
coin25.jpeg 13KB
coin1.jpeg 17KB
coin29.jpeg 17KB
coin13.jpeg 20KB
coin32.jpeg 35KB
coin20.jpeg 13KB
coin5.jpeg 25KB
coin17.jpeg 22KB
coin37.jpeg 40KB
coin10.jpeg 23KB
coin33.jpeg 44KB
coin34.jpeg 53KB
coin27.jpeg 39KB
coin9.jpeg 19KB
coin23.jpeg 27KB
coin2.jpeg 29KB
coin31.jpeg 25KB
coin28.jpeg 31KB
coin3.jpeg 18KB
coin24.jpeg 15KB
coin18.jpeg 88KB
coin35.jpeg 28KB
coin30.jpeg 11KB
coin12.jpeg 20KB
coin6.jpeg 29KB
coin39.jpeg 53KB
coin14.jpeg 18KB
coin4.jpeg 15KB
coin21.jpeg 41KB
coin38.jpeg 22KB
coin26.jpeg 19KB
coin8.jpeg 19KB
coin16.jpeg 77KB
coin19.jpeg 27KB
README.md 5KB
共 42 条
- 1
资源评论
matlab科研助手
- 粉丝: 3w+
- 资源: 5974
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于深度学习的所有权分心驾驶(行为疲劳+行为危险)预警系统采用YOLOv5+Deepsort实现所有权的危险驾驶行为的预警监测.zip
- 411jsp心理健康测试咨询网站毕业课程源码设计+论文资料
- 基于yolo的csgo AI.zip
- 基于javaWeb实现学生选课管理系统源码+数据库文件+文档说明
- 安卓逆向分析工具集合:包含baksmali-2.5.2.jar、classes-dex2jar.jar、jadx-gui-1.2.0-no-jre-win.exe
- 基于JavaWeb的大学生选课管理系统源码+数据库(毕业设计项目)
- 基于yolov7的姿势检测.zip
- java毕业设计-基于SSM的公租房维保系统【代码+论文+PPT】
- 基于yolov5识别算法实现的DNF自动脚本.zip
- 410asp电子政务网站设计毕业课程源码设计+论文资料+开题报告+答辩ppt资料全
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功