在Android设备上使用OpenCv检测音乐形状 [英] detecting musical shapes with OpenCv on an android device

查看:105
本文介绍了在Android设备上使用OpenCv检测音乐形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在其中一门课上完成了作业。我需要用手机制作乐器。我想做这样的事情:



墙上(或板子上)有一个音乐人员。然后,用户可以在该工作人员上粘贴音符并将他们的手机摄像头指向该墙。然后手机会检测到音符(可能是四分音符或半音符,甚至是G音符),然后播放连续的音符作为声音。音符将具有相同的尺寸和颜色,因为它们不会被绘制,我们将用纸或纸板制作它们。



我担心的是,如果有可能的话检测几个自定义的已知形状(在这种情况下是一堆音符),以及它们使用openCv定位另一个(在这种情况下是工作人员的线条或工作人员本身);如果没有,任何其他关于如何做到这一点的想法都会很棒。



也许你可以指出我在谷歌寻找什么的方向让我开始这件事。我有2个半月的时间来做这个项目(如果你知道这个是相关的),所以我将不胜感激任何帮助。提前谢谢。



编辑:

抱歉误会。我不是要求帮助来做项目或类似的事情。我只想知道这个想法的可行性,因为我对opencv知之甚少。我只是想问它是否有可能检测到我需要使用的那种物体,这就是全部。如果你告诉我它可以完成,我将从实际工作开始。同样,如果这仍然超出了本论坛的范围,我将删除该问题。提前谢谢你。

i have an assignment on one of my classes. i need to "make" a musical instrument with a phone. I was thinking of making something like this:

there is a musical staff on a wall (or a board). then, the user can stick musical notes on that staff and point their phone camera to that wall. then the phone detects the musical notes (that could be crotchet or a half note, even a G cleff) and plays that succession of notes as sounds. the musical notes will have the same size and color because they will not be drawn, we will make them out of paper or cardboard.

my concern is if it's possible to detect several custom known shapes (in this case a bunch of musical notes), and their positioning regarding another one (in this case the lines on the staff, or the staff itself) using openCv; if not, any other idea of how could do this would be great.

maybe you could point me the direction on what to look for in google to get me started on this matter. i have 2 and a half months to do this project ( if it's relevant for you to know this ), so i would appreciate any help. thank you in advance.


sorry for the misunderstanding. im not asking for help to do the project or anything like that. i just want to know the viability of the idea because i dont know enough about opencv. I was just asking if its possible to detect the kind of object i need to work with, and thats all. if you tell me that it can be done, i will start with the actual work. Again, if that's still out of the range of this forum i will delete the question. thank you in advance.

推荐答案

错误的地方:我们不做HomeWork,你的任务是你必须要做的。

所以麻烦就是开始工作。



这个论坛是为了帮助那些陷入某些代码的程序员,为你做代码。

如果您希望程序员为您完成作业,请转到 https://www.freelancer.com [< a href =https://www.freelancer.comtarget =_ blanktitle =新窗口> ^ ]



否则是有一些与你的问题相关的东西,谷歌知道它。
Wrong place: We don't do HomeWork, it your assignment you are the one that have to do it.
So the bast is to start working.

This forum is here to help programmers that are stuck in some code, to do code for you.
If you want a programmer to do the assignment for you, go to https://www.freelancer.com[^]

Otherwise is there is something related to your problem, Google knows about it.


这篇关于在Android设备上使用OpenCv检测音乐形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆