Monthly Archives: November 2016

Google PhotoScan

When a Windows 7 rig on my work desk was replaced with an iMac, the Windows driven scanner I used also went on permanent vacation. And with that went efforts to scan old print photographs. Taking pictures of glossy photos from the past yields only a flash point and darkness.

img_20161117_142200187Shrue Dana Gallen Joel photograph

Note that the background border was not black but was actually a maroon colored towel that the photograph was placed on.

Enter Google PhotoScan, an Android app that turns your cell phone into a photo scanner that is as good as your cell phone camera. The app uses an initial reference photo and then has the user move the phone to new locations using white guide dots on the screen. Then Photoscan digitally assembles the five images into a single glare-free image, cropping to the original edge of the image. Note that I took the next photo from the same distance as the photo above, the frame included the maroon towel.

Shrue Dana Gallen Joel Photoscan

Google PhotoScan automatically detected and deleted the maroon towel, retaining the edge of the photograph automatically. The original has water damage at the top as seen in both images. The photo was taken on Yap circa 1999 and includes Shrue, myself, and the family of Gallen Joel. A Motorola Moto G4 Play was used to scan the photograph.

I made the initial mistake of trying to crop out the towel in the cell phone screen. That actually yields poor results. The software is looking for the edge of the photograph, depriving the software of that edge led to at least one distorted image as the software tried to correct perspective without having the edge to work with. The app deleted the maroon towel as part of the processing. The app also included part of the image under the PhotoScan “take picture” button – something that was not obvious to me the first time I used the app.

The app appeared to find the larger span of an eight and half by eleven sheet of paper more challenging, and I found the large movements more challenging as well, but I did capture a reasonable photocopy of the page. Attempts to PhotoScan a whiteboard with notes on the white board proved even more challenging. Here the distances are greater, both from the board and across which one has to scan, and there is no edge of a photograph to work with. Although the scanner claimed to have failed to capture the board, I did find that a glare free image of the white board had been captured.

The app is available in the Google Play store and requires Android 5.0 or higher. Available also on iOS. My thanks to my son for bringing this app to my attention!

Advertisements

Health indicator numbers

My statistics class students are accustomed to my having them make measurements of self and then using that data in the class.

screen-shot-2016-11-16-at-9-47-22-am

In the spirit of a share and share-alike, I share my own numbers when I can. With World Diabetes Day being observed today on campus I had a chance to check my weight, height, blood pressure, and blood sugar. At my present 57 years old, I weighed in at 148 pounds, and remain 67″ tall. Not yet shrinking vertically. I passed my blood pressure and random blood sugar tests with a 111/71 blood pressure and three blood sugar tests one of 81 and two others at 87. This on top of a heavy breakfast of gluten free muesli. I wrapped up with a free flu shot.

If one is left wondering why three blood sugar numbers, the reason is simply statistics. The units that measure blood sugar have their own measurement errors. A check from multiple units provides the ability to calculate an average.

A few days later public health was at a 5k run. I had had some gluten free Muesli for breakfast and done some warming up prior to getting my blood pressure and blood sugar checked.

blood pressure pre runblood sugar

Blood pressure 144 over 85 with a heart rate up around 74. A resting heart rate check a couple months ago put me down just under 55 BPM for a resting rate. The above is after a joggling warm-up trot. I told the public health officer I would come directly in for an immediate post run check.

5k time

I then ran the 5k, finishing at the public health station at a full run. At 57 years old I was the first place master’s finisher. I slammed myself down into a chair, public health indulging me and getting my blood pressure immediately and blood sugar within two minutes of finishing.

blood pressureblood sugar

Immediately post-run my blood pressure was 152 over 84 with a heart rate of 154. Blood sugar had spiked to 124 as my body dumped glucose into my blood stream to power my running.

 

Halloween 2016

Halloween 2016 fell on a Monday school night evening. This was also a Monday social security day – the end of the month when senior citizens come to Kolonia to collect their social security checks and go shopping. That income is important in many families here, and falling on a Monday meant that the Halloween shopping weekend would likely have been negatively impacted. In local parlance, October 29 and 30 were a “broke weekend.”

Tristan and Kisha Halloween 2016
Tristan and Kisha Halloween 2016

The weather was acceptable, only a brief passing light rain shower in Dolihner, otherwise generally dry conditions.

Perhaps the largest factor was that last year Halloween fell on a Saturday night. A weekend with no school the next day.

Whatever the underlying factors, numbers were down year-on-year. Groups are a very roughly estimated with overestimation more likely than under. That said, the front porch saw a drop from 90 groups in 2015 to 79 groups in 2016. Traffic began around 18:35 but by 20:30 no further trick or treaters arrived on the porch.

Halloween group sizes 2015
Halloween group sizes 2015

Note the nine outlying groups in 2015 – groups with more than roughly 15 candy receivers, including one up near 45 and another above 50. The differential in the number of groups is a drop of only eleven. The lack of large groups, however, meant raw numbers of individual candy takers was down more significantly.

Halloween group sizes 2016
Halloween group sizes 2016

The numbers were down even more significantly. The count of candy receivers in 2015 was 590. In 2016 only 416 showed up on the porch, a drop of 174 trick or treaters. Average group size also dropped, primarily a function of the drop in the number of large groups and the absence of any group larger that 35. The household thought that the choice to block cars from driving up the interior road negatively impacted the large group counts. My sense is that the large trucks used to haul the big groups of kids from other parts of the island may not have been as available as they were on a Saturday night last night.

In 2015 the average group size was 6.56 with a standard deviation of 8.90. In 2016 average group size was 5.27 with a standard deviation of 5.50. The median, however, increased from 3 to 4 year-on-year.

We again used the dual bowl system. One twenty-five dollar bag of better candy and a single 330 count bag of Hershey Kisses. Elterina added in three bags of additional small candies that may have added upwards of 90 candies to the Kisses bowl. We would end the evening with candy on hand.

For those who want to play with the raw data, the data is available in a Google Sheets spreadsheet. Analysis was done using Google Sheets with the above charts prepared using the Google Statistics add-in for Google Sheets.