Have food allergies or restrictions? Here’s an easy to make gluten-free and dairy-free cake recipe. All you need is a box of gluten-free cake mix and store-bought dairy-free frosting. So simple and it tastes great too!
I try to avoid suspect ingredients and artificial food colors, so this is a relatively healthy cake as well. Many frostings in a can are dairy-free, but full of trans fats and other additives that are bad for you (and make my skin breakout). The ingredients list for Simple Mills Organic frosting is dairy-free AND passed my yucky ingredients check. . . . Continue Reading
With school starting, it’s time to buy new dance shoes for your little dancers. I remember being daunted the first time I had to purchase dance shoes for my daughter. My daughter’s dance teacher has always been helpful with shoe recommendations. Now that my daughter has been part of her dance school’s performing company dance team for the past three years, I have had to buy many pairs of tap shoes, ballet shoes and jazz shoes. Here are my recommendations for the best dance shoes for children. . . . Continue Reading
I covered Part 2 of the Entertainment Technology Badge for Junior Girl Scouts at our troop meeting. At a previous meeting, we learned about badge requirements 2 (video game development), 3 (amusement park science), and 4 (special effects). For Part 2, we investigated badge requirements 1 (animation) and 5 (sound) for the Entertainment Technology badge.
Since my troop has also been gearing up for Girl Scout Cookie Season, I combined our cookie sale role play practice with the creation of stop motion animation videos. . . . Continue Reading
The Maker Faire Bay Area is this weekend, May 19-21, 2017, at the San Mateo Event Center. MakeHardware had a booth at the Maker Faire last year, but we have been too busy to run a booth for 2017. We do plan to attend for a day to check out what other folks have been busy making!
If you decide to check out the Maker Faire this weekend, make sure you plan for enough time to get there and back. The Maker Faire is huge and even sets up exhibits in the parking lots at the San Mateo Event Center, so parking onsite is not available. There are shuttle buses and public transit, but be ready for a wait during busy times. The Maker Faire is totally worth the trouble, just be prepared!
Here are a couple of pics from our booth last year.
My favorite areas of the Maker Faire include the cooking (last year I bought some great fermentation tools), the crafts and the kid sections. There are lots of electronics, light sculptures, drones, huge metal sculptures, fire art, and tons of crazy creativity!
At MakeHardware.com, we love hosting elaborate birthday parties for our kids! I was all for having my daughter’s ninth birthday party at our local paint-your-own-pottery studio, but then my daughter suggested a Little House on the Prairie theme and I couldn’t resist! It’s the perfect birthday party theme for makers!
My daughter loves American history and she . . . Continue Reading
For our drone flying project, we have been using the ELP 2 Megapixel USB Camera. The auto exposure on this camera works in most situations, but we found that it does not always adjust to bright sunlight. In preparation for demonstrating our computer-controlled drone at the Maker Faire, I wanted to have a plan in case we were outdoors. It was a good thing too, since we were assigned an outdoor booth next to the Drone Combat arena.
We detect the location of our drone by using blob detection on four paper circles that we have taped to the top of the drone. Originally, we were using a medium green color, but we found that under some lighting conditions, our code would confuse the light blue color on the body of the drone with the green circles. I thought about making our blob detection code more robust, but the Maker Faire was quickly approaching! Instead we decided to make our flying area more controlled. We used white poster board as the background for our flying area and I tested some different colors for the paper circles. Red circles were good, except that our code got confused if one of our hands was reaching into the flying area. Black was not good in dim light. In the end, we decided on a dark purple with a blue undertone.
OpenCV provides a way to set a webcam’s manual exposure, but there are two problems. The first is that OpenCV is not well-documented. I could find the documentation stating that I should be able to set the exposure value, but it was not at all clear what values to pass! The second problem is that your particular webcam may not support programmatic setting of the exposure. Thus, when your code doesn’t work, it can be difficult to determine if your code is wrong or if your webcam just won’t allow it!
OpenCV’s VideoCapture.set() is the method to use. If you look at the documentation, you will see that there is a property named CV_CAP_PROP_EXPOSURE. It took me some time to discover that depending on the version of OpenCV you are using, the property’s name might actually be CAP_PROP_EXPOSURE.
There is no hint as to what the exposure value should be set to, but luckily for me, I found a mapping for the ELP 2 MP webcam on this page by Joan Charmant. He shows that the exposure values range between -1 and -13. You can programmatically set the exposure in this manner:
Unfortunately, I could not figure out a programmatic way to set the exposure back to auto exposure. If you know how, please add a comment! Please be aware that for some webcams, such as this one, the manual exposure setting is stored in its on-board memory, which means that turning off your program and even turning off the webcam itself, the manual exposure will still be set!
As a workaround, I found a way to bring up the DirectShow property pages so that I could use the DirectShow GUI to set the manual exposure or to turn auto exposure back on.
Here’s the code to launch the DirectShow property page:
vc.set(cv2.CAP_PROP_SETTINGS,0)
During the Maker Faire, our demonstration area was shaded by a tent for most of the day, but around 2 PM our flying area was part sun and part shade. We delayed the inevitable by moving our table back with the shade, but eventually we had to move our table back to the front of the booth and into the sun. On Saturday, the afternoon was mostly overcast, and the camera’s auto exposure worked most of the time. I was surprised that our blob detection code even worked when people walked in front of our booth and made our flying area partly shaded by their shadows.
Sunday was mostly sunny, and the webcam’s auto exposure did not work when it was very bright. At these times, I opened up the DirectShow property pages and set the exposure manually so that our demo would still work. Maker disaster averted!