Monday, February 15, 2010

Progress Senior Project - 2/15/2010

Actually it could be my last day for the eight precepts... But because of Chinese New Year, make me stop doing for 3 days (OMG!!!) I'll find another day to make up these 3 days.

As I already told you about the interface, today I work more about it. Here's the video test run of my program. How was it?



So, next task, my program will have>>
  • more efficiency on OCR
  • can remove the table line
  • select beat of the song
  • make XML file
And this is just optional if i have time
  • more and more efficiency on OCR
  • more efficiency on interface
  • select music instrument

Now is 3 am................. My heart beat very fast....... Am I gonna die TwT..... Happy Valentine

Saturday, February 13, 2010

Progress Senior Project - 2/13/2010

Happy Chinese New Year!!!!

I just back from my house for celebration. So I started to work very late. (And i kind of mad with my dad and my bro }:( , sorry about that) My dad said, he had read this blog and he don't understand what I wrote. So it make me think like, "Do I wrote bad?". No! I'm not. My word is too easy I know. Anyway, maybe it's just too much technical term.....

So last time I mention about the rest sign (-) wasn't recognized. I think today i can fix it but just for this input because when i use with another input, it was very bad.

Another problem that I found is my MIDI program can't read the notation from the OCR part....
OMG!!!! How can I gonna fix it. You know, I spend all Friday night to fix it seem not work. But this evening, I try it use the encoded character and thank god!!!! it's work. Here is the UTF-8 code for ด - ท.

str('\xb4\n'): #ด
str('\xc3\n'):#ร
str('\xc1\n'):#ม
str('\xbf\n'):#ฟ
str('\xab\n'):#ซ
str('\xc5\n'):#ล
str('xb7\n'):#ท


Here is my program running from part 1 to part 2. (Hey! it's real not "printf" trick na) And next time it will come up with interface and more efficiency on OCR.





PS. I didn't work on circle detection thing yet but I try to study more about it. :-)

Thursday, February 11, 2010

Progress Senior Project - 2/11/2010



Today, i found that if database and the image is exactly the same font and size, the result will be 100% correct in template matching.
input
output
This is the result from the song Lao seang Tean (ลาวเสี่ยงเทียน), as you see, it nearly 100% correct but there are no rest sign (- -"). I try to fix it out. I think it should be the error from row segmentation because when i have only one line with no high dot, the result can run normally.

I nearly end (my life @_@) . It's too hard for me.

Today I try to use Hought transform to detect the circle of the image. It work quite weird today, maybe it's a human error. I'll explain more about this thing this evening. Bye G-nite.
PS here is the picture of the notation that make from my project. Actually, the midi file can read in any music notation reader....(How can I forgot this thing!!!) So this way I think making XML file is no need anymore! ^^

Tuesday, February 9, 2010

Progress Senior Project - 2/9/2010


I feel very sorry to let my worth time with anything that waste my time. There are many thing I have to do during this period, I got SMEs work, job interview, lab, music performing and so on. (But the biggest thing that damage my time is Facebook, so I stop using Facebook for 2 days and continue my work.) After that, I have to hand in the "Final Report" with in 15 Feb. ??? How can I gonna finish in this period of time.

So today, i have to finish another part of my work, here is the explanation. In Thai note, we separate the measure by using | or table like this -v

Normally we using table as the measure so we have to remove table before we go to the OCR part. So the result should be like this -v

After we have the sheet note with out table line, the blob and OCR will work more properly.

My OCR still can't work well hope it will be better with in this week T T.....