Author Topic: The Pauline Pace Program Discussion Thread  (Read 12583 times)

0 Members and 1 Guest are viewing this topic.

Offline John73

  • Senior Member
  • *
  • Posts: 128
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #15 on: October 07, 2013, 07:39:46 pm »
Thanks for the explanations and points of view Jeff.

I think I might have a quick go and writing a very basic "Pauline inspired" Android app though.   I'll release details and a link if I get it going.   Unfortunately I can't do it for iOS atm, as Apple want to charge a ridiculous price for a developer license which I'm not going to pay for an App I won't make any money off :)
DK Mame 266K Level 8-6
CK Mame 559K Killscreen
Member for 11 Years CK Killscreener Twitch Streamer

Offline ChrisP

  • Spring Jumper
  • *
  • Posts: 1764
  • I'm going to jump next to your leg.
    • Donkey Blog
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #16 on: October 08, 2013, 02:36:14 am »
I would definitely like to see some sort of option for manual input, where very little input is necessary.

This would be great for spectacting.

It would be cool to open up a stream of a game in progress and to be able to punch in the current score and level and to get an accurate idea of the player's pace.

I see three inputs, something like:

1. L1-L4 Start: ______
OR (if the start score is unknown, you could click one of several estimated values, based on the player, etc.)
Estimated Start:   
   Low (100K)
   Medium (115K)
   High (130K)

2. Current Score: _______
3. Current Screen: __ __

And from those inputs the program would spit out the following:

Level Avg: __________
Pace:   
   At Current Average: _________
   Low 1-hammer (44K/L): ________
   Moderate 1-hammer (47K/L): _______
   High 1-hammer/Low 2-hammer (50K/L): _______
   Moderate 2-hammer (55K/L): _______
   Extreme Pressing (62K/L): _______

Something like that.

At the moment, I use an Excel spreadsheet to do this, but it's a tad unwieldy and an app would be better.

This is much like how my GPS (at least it claims to) learn my driving habits and give me a better estimate of my ETA. 

funspit
« Last Edit: October 08, 2013, 02:41:26 am by ChrisP »
http://donkeykongblog.blogspot.com

4 Quarters :-* - 800K Avg. Per Qtr. :o - No Restarts 8) - No Proof :'(

7/26/2013   Coin 35,946   710,800   18-1
7/28/2013   Coin 35,947   903,700   22-1
8/16/2013   Coin 35,948   694,100   17-6
8/17/2013   Coin 35,949   893,100   22-1

3,201,700: the $1 World Record?
Member for 11 Years DKJR Killscreener DK Masters - Rank D IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member Blogger Twitch Streamer DK Killscreener CK Killscreener

Jeffw

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #17 on: January 08, 2014, 06:27:44 pm »
I want to do some experimenting with automating score input on arcade. I would like a few different arcade streamers to send me a video of one of your sessions or part of a session that was recorded directly from the webcam (i.e., not a twitch stream archive). The reason is that Pauline will have direct access to the webcam which should allow for higher quality images than those from something like a twitch archive. I would like to get a good variety of videos with different webcams and different setups, so even if you don't have a perfect streaming setup with the webcam pointed directly at the screen, you should still send a video (in fact, I might be more interested in these lower quality streaming setups). The video itself should have image quality as high quality as possible, with frame rate being much less important than image quality. The preferred video format is AVI. If you can't send a video even screenshots taken from the webcam would be helpful. You can either post videos/screenshots in this thread or PM them to me.
« Last Edit: January 08, 2014, 06:31:31 pm by Jeffw »

hchien

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #18 on: January 08, 2014, 07:34:38 pm »
Next time I stream, I'll record directly from the webcam. 

This would be awesome!

Offline danman123456

  • Spring Jumper
  • *
  • Posts: 810
    • Twitch TV Stream
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #19 on: January 08, 2014, 07:48:22 pm »
But the webcam will be in use by OBS or Xsplit so how will you access it exactly? I think its awesome idea and cant wait just wanted to point that out I have all kinds of issues with skype/xsplit with "Webcam is in use"

Dan
DK High : 1,059,700 (Lvl 22-1 KS!);
DK KS Speedrun : 1 Hr 16 Min 40 Sec - World Record!
DK Lvl 1 - 1: 12,400
Fix-It Felix Jr - 297,000 (World Record)
Fix-IT Felix Jr 1 Hour Limit - 177,000
Fix-It Felix Jr KS Speedrun - 1h33
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member Winner of a community event DK 1M Point Scorer IGBY 2014 DKF Team Member DK Killscreener CK Killscreener Blogger

Offline Scoundrl

  • Elite Member
  • *
  • Posts: 343
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #20 on: January 08, 2014, 08:48:59 pm »
I have a good sample from my stream, Ross's 1,136,700. There are actually two stream going in the video giving effectvly two good data sets.

Download the FLV in zip format here...

http://www.athometech.com/files/DK1136700.zip

-Ken
Member for 11 Years IGBY 2015 DKF Team Member Blogger Twitch Streamer

hchien

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #21 on: January 08, 2014, 10:46:09 pm »
Edit: disregard prior comment... realized Dan was talking to Jeff, not me.
« Last Edit: January 08, 2014, 10:48:14 pm by hchien »

Jeffw

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #22 on: January 09, 2014, 12:13:11 am »
But the webcam will be in use by OBS or Xsplit so how will you access it exactly? I think its awesome idea and cant wait just wanted to point that out I have all kinds of issues with skype/xsplit with "Webcam is in use"

Dan

You might have to use something like manycam or splitcam, which allow the webcam to be used by multiple applications at once. It's kind of unfortunate that this would be required since it adds a step to run Pauline on arcade, but I'm not sure that there is any better solution. I'll look into this more later once Pauline can actually work on arcade to see if there is a better solution.

Offline danman123456

  • Spring Jumper
  • *
  • Posts: 810
    • Twitch TV Stream
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #23 on: January 09, 2014, 08:11:25 am »
Sweet I'd still do it if it works. I miss pauline :D

But the webcam will be in use by OBS or Xsplit so how will you access it exactly? I think its awesome idea and cant wait just wanted to point that out I have all kinds of issues with skype/xsplit with "Webcam is in use"

Dan

You might have to use something like manycam or splitcam, which allow the webcam to be used by multiple applications at once. It's kind of unfortunate that this would be required since it adds a step to run Pauline on arcade, but I'm not sure that there is any better solution. I'll look into this more later once Pauline can actually work on arcade to see if there is a better solution.
DK High : 1,059,700 (Lvl 22-1 KS!);
DK KS Speedrun : 1 Hr 16 Min 40 Sec - World Record!
DK Lvl 1 - 1: 12,400
Fix-It Felix Jr - 297,000 (World Record)
Fix-IT Felix Jr 1 Hour Limit - 177,000
Fix-It Felix Jr KS Speedrun - 1h33
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member Winner of a community event DK 1M Point Scorer IGBY 2014 DKF Team Member DK Killscreener CK Killscreener Blogger

Jeffw

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #24 on: January 18, 2014, 01:54:49 pm »
So I've attempted to train Tesseract, the OCR engine used by Pauline, for the DK font. This was done to make reading the score on arcade easier, and also to improve accuracy on MAME. At the moment it's not clear whether the training has offered any improvement for accuracy on arcade, and I want to know if it improved MAME accuracy at all. I know that Pauline was reading the score wrong for a few people and I would like to know if the training fixes that. So if you are one of those people who were having problems, can you download this attached file, eng.traineddata, and put it in the tessdata directory of Pauline, replacing the existing eng.traineddata file and see if it improves at all, and let me know the results.

Offline d3scride

  • Full Member
  • *
  • Posts: 89
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #25 on: January 18, 2014, 04:15:50 pm »
I was having a few minor issues with it: not displaying points from deaths and on occasion over inflated barrel board screen scores .Might have something to do with the points from death carrying over into the total for the board. I'll grab the attachment when I get home from work. Thanks Jeff!
PBs:

DK: 702,100 at 1,040,000 pace
1-1: 11,800
1-2: 22,700
No Hammer: 562,800
Lvl 2: 50,400
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2014 DKF Team Member Twitch Streamer Former DK3 World Record Holder

Offline Milehighdt

  • Senior Member
  • *
  • Posts: 243
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #26 on: January 18, 2014, 06:16:55 pm »
I've done a few tests and the new eng.traineddata file has worked flawlessly. The old file would miss identify many of the digits on my screen. Great work !
DK (Arcade) 1,129,700
DK No-hammer (Arcade) 768800 Killscreen
DK No-hammer (mame japan set)  524600 level 21-4
Member for 11 Years DKJR Killscreener Winner of a community event Individual Board Record Holder IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member DK No-Hammer Killscreener IGBY 2014 DKF Team Member Former CK World Record Holder - MAME DK 1.1M Point Scorer DK 1M Point Scorer Former DK No-Hammer World Record Holder DK Killscreener Twitch Streamer CK Killscreener

Offline syscrusher

  • Elite Member
  • *
  • Posts: 308
    • Awards
Re: The Pauline Pace Program Discussion Thread
« Reply #27 on: January 19, 2014, 03:51:54 am »
Nice, Jeff!  I was just reading about how to train tesseract for the DK font the other day.  Pauline doesn't read some digits correctly for me and I've noticed others having the same problem.  I've tried using tessercat for .NET and I couldn't get consistent results with it even after some preprocessing of the image.  I'm using Asprise OCR right now and it works perfectly.  I'll give the new file a test.
Member for 11 Years DK Masters - Rank C Winner of a community event Former DKJR World Record Holder - MAME IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member 1M on DK, DKJR, and DK3 Difficulty 3 DK3 Repetitive Blue Screener Blogger DK 1M Point Scorer DKJR Killscreener CK Killscreener Former D2K World Record Holder Twitch Streamer DK Killscreener

Jeffw

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #28 on: January 19, 2014, 12:37:41 pm »
I've done a few tests and the new eng.traineddata file has worked flawlessly. The old file would miss identify many of the digits on my screen. Great work !

That's good to hear. Hopefully I can get some results from a few other people as well to make sure this new file works better. It seems that on arcade this new file causes worse performance than the default file. I've reached near-perfect OCR accuracy for arcade on my test video using image pre-processing,  but only with the default eng.traineddata; the new one still provides pretty good accuracy but not as good as the default. It's probably because the font I created to train Tesseract doesn't take into account the glow that happens on arcade, where pixels light up surrounding pixels and make things like the hole in the middle of the 4 difficult to see.

Jeffw

  • Guest
Re: The Pauline Pace Program Discussion Thread
« Reply #29 on: January 25, 2014, 10:25:40 am »
Can I get any more people to send me a video? I've received one video from Hank that had a high enough resolution for score reading to be successful. Ken's video, while useful for testing things like the score location and orientation detection algorithm, was too low resolution to accurately read the score, even with image preprocessing. The video doesn't need to be long, about 30 minutes should be fine, but it should be high resolution, ideally the maximum resolution that your webcam supports. This is because when Pauline is running on arcade it will be able to select the maximum resolution supported by the webcam and take images of that resolution.