如何阅读pdf中的音乐笔记? [英] How do I read music notes from a pdf?

查看:111
本文介绍了如何阅读pdf中的音乐笔记?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力寻找一种方法来制作一个程序,让我能够阅读pdf并理解音乐笔记。我假设它需要知道每个音符/音乐符号的样子。这是一个我想要处理的个人项目,希望能够了解从哪里开始以及使用哪种类型的工具/库。我有一些Java经验和非常少的python经验,所以这些语言将是最佳的。但是,我基本上愿意学习任何东西。



我尝试过:



真的没有什么可以尝试....不知道从哪里开始??

I have been trying to search for a way to make a program that would allow me to read a pdf and understand a music note. I assume that it would need to know what each note/music notation looks like. It's a personal project that I would like to work on and was hoping to get some insight about where to start and what types of tools/libraries to use. I have some Java experience and very little python experience so those languages would be optimal. However, I am willing to learn basically anything.

What I have tried:

Dont really have anything to try....not sure where to start??

推荐答案

我希望你有一个比我聪明的人会知道答案,但我的直接想法是,这不是你作为个人项目轻易写的东西。



如果你考虑继续。首先尝试找到某种类型的库,如果不存在,则需要类似OCR(光学字符识别)类型的算法。您将pdf页面转换为图像并将其发送到您自己的ONR(光学笔记识别)库,这应该可以解决问题。



我认为(但一定要调查)OCR与机器学习技术一起工作,其中训练集包含一堆(很多!)字符:a,b,c,......以不同的字体和格式(小型大写字母,大写字母,书面形式) ,键入,...)所以一个新的字符被识别为特定的字母,数字,....对于你的ONR你需要做同样的(或类似的)



希望这会有所帮助。





我很好奇你将如何完成这项任务,所以如果你确实得到了什么让我知道![/编辑]
I'm hoping for you that someone smarter than me would know the answer, but my immediate thoughts are that this is not something you write easily as a personal project.

If you do consider to continue. First try to find a library of some sorts, if that does not exist, you'll need something like an OCR (Optical Character Recognition) type of algorithm. You convert you're pdf pages to "images" ans send it off to your own ONR (Optical Note Recognition) library and that should do the trick.

I think (but make sure to investigate) that OCR works with machine learning techniques where the training set contains a bunch (a lot!) of characters: a's, b's, c's, ... in different fonts and formats (small caps, capitals, written, typed, ...) so a new character is recognized as that specific letter, number, .... For your ONR you'll need to do the same (or similar)

Hope this helps.


I'm very curious how you will fare on this mission, so if you do get something let me know![/EDIT]


这篇关于如何阅读pdf中的音乐笔记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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