TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OCRing Music from YouTube with Common Lisp

63 pointsby superdisk4 months ago

5 comments

notpublic4 months ago
Instead of doing a diff, curious if Normalized compression distance (NCD)[1] will yield a better result. It is very simple algorithm:<p>to compare two images, i1 and i2<p><pre><code> l1 = length(gzip(i1)) l2 = length(gzip(i2)) l12 = length(gzip(concatenate(i1, i2)) ncd = (l12 - min(l1, l2))&#x2F;max(l1, l2) </code></pre> Here is a nice article where I found out about this long ago.<p><a href="https:&#x2F;&#x2F;yieldthought.com&#x2F;post&#x2F;95722882055&#x2F;machine-learning-teaches-me-how-to-write-better-ai" rel="nofollow">https:&#x2F;&#x2F;yieldthought.com&#x2F;post&#x2F;95722882055&#x2F;machine-learning-t...</a><p>From the article:<p>&quot;Basically it states that the degree of similarity between two objects can be approximated by the degree to which you can better compress them by concatenating them into one object rather than compressing them individually.&quot;<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Normalized_compression_distance" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Normalized_compression_distanc...</a>
评论 #42609969 未加载
varjag4 months ago
If you&#x27;re also getting a 500:<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20250106075631&#x2F;https:&#x2F;&#x2F;nickfa.ro&#x2F;wiki&#x2F;OCRing_Music_from_YouTube_with_Common_Lisp" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20250106075631&#x2F;https:&#x2F;&#x2F;nickfa.ro...</a>
评论 #42609261 未加载
xenonite4 months ago
To OCR music scores, see e.g., <a href="https:&#x2F;&#x2F;digitalcollection.zhaw.ch&#x2F;items&#x2F;276365b9-0a20-4286-af62-060d70a04402" rel="nofollow">https:&#x2F;&#x2F;digitalcollection.zhaw.ch&#x2F;items&#x2F;276365b9-0a20-4286-a...</a>
rcarmo4 months ago
Holy cow.
kanwisher4 months ago
honestly this would be better with an AI model
评论 #42609020 未加载
评论 #42608733 未加载
评论 #42609492 未加载