Category: Crafts

Craft projects of mine

  • Knitted Disruption

    Hey knitters! I’m working on a knitting + machine learning project and I need a collection of images of stockinette, garter, seed, and moss stitches. Images like these:

    If you’re willing to spend a few minutes helping, I’d be so grateful! Just email your images to [email address removed as the project is finished!]. You can attach multiple images at once if you like.

    They don’t have to be swatches; they can be closeups from finished articles. They don’t have to be perfectly straight or blocked or anything like that either. I’m looking for a wide variety, to be honest! Stripes and multiple colours are great! Even fairisle. I want to teach the model to disregard colour, so having photos with it is very helpful. Just no lace or cables or crochet… (yet).

    More details

    A few years back I gave a talk at several tech conferences about the overlap between knitting patterns and programming languages. As part of that, I talked a bit about KnitML (an old proposed standard for writing patterns in ways computers can understand) and how it could be used with special software to simulate knitted fabric. A few people asked me afterwards if it could go the other way – from a photo of knitting, can you reverse engineer the pattern?

    It got me thinking. I know that I can “read” knitting. I do it all the time, and I’m sure other knitters do too. So if I can do it, why not a computer? I’m also fortunate in that I work with some very smart Machine Learning experts and have access to run experiments in the Cloud cheaply. So I decided to give it a try.

    I’m starting with image classification. Think facial recognition for knitting swatches. Can I train a model to recognise the difference between stockinette, garter, moss, and seed stitch? The first step is gathering as much training data as I can, hence my request to you all!

    So the more the better. Different wools, different colours, different lighting, different angles. It’s all super useful!

    And I will definitely share the results back afterwards and thank all contributors. 🙂

  • Baratheon Pullover

    Baratheon PulloverThis jumper’s been a long time in the making. Way back in 2011 I was a contributor to the TON OF WOOL project and received a couple skeins of 10ply undyed Cormo wool in return. It sat in my stash for years. Then in late 2017 I happened to see Norah Gaughan’s Stag Head Pullover on the front page of Ravelry and fell in love. I didn’t have enough of the Cormo to make it, but Jody still had a full packet and kindly sold it to me. I originally aimed to put it in the 2018 Easter Show but didn’t manage to get it finished in time. It languished in the “incomplete” basket for the better part of a year before I picked it up and finished it just in time for this year’s Show.

    No ribbon, sadly, and no feedback from the judges either. Still, I’m very happy with it. Full details over on Ravelry

  • Making an Aloha Shirt

    As you’ve no doubt gathered, I recently finished a new shirt for the Snook. I decided that I’d document the whole process in a video.

    It’s not often I get to put my Film degree to use! I had a lot of fun playing with iMovie and editing this thing together. I hope you enjoy it as much as the Snook likes his new shirt!

  • Photo Post

    Automatic buttonhole feet are an amazing feat of engineering, and using one makes me feel like a badass. #imakeclothes

  • Web-Goddess Oscar Contest 2019

    A month or so ago, Christopher commented on Facebook how much he missed my annual sock monkey Oscar Contest. I admitted that I’d thought of reviving it, but I hadn’t had any inspiration for a good monkey… and then it hit me! FREDDIE MONKCURY.

    Freddie Monkcury at Live Aid
    Freddie Monkcury at Live Aid

    I had a monkey mostly put together from a few years ago, so he took shape fairly quickly. I found a very basic pattern for doll pants in the right size and used material from an old pair of jeans. His “I Want to Break Free” outfit was a little harder. The “leather” for his skirt is actually polyurethane from a $5 bag I found at Kmart. His bouffant wig started out as sculptural felt that I then handsewed black chenille pipe cleaners onto. (I also fashioned a very basic vacuum cleaner too!)

    Application Architecture

    For the first 11 years, the Contest consisted of a custom PHP and MySQL application that I’d built. For this year, I decided to challenge myself to completely rebuild it on Amazon Web Services (which is where I work!). Here’s how the architecture ended up:

     

    Oscar Contest Application Architecture
    Oscar Contest application architecture

    As a starting point, I worked through this Web Application serverless workshop. I was already using Route53 to serve krishoward.org from S3, so I decided to put the Contest files there. Upon finishing the workshop, I had a working web app using Amazon Cognito for user authentication and a serverless backend consisting of an API Gateway-fronted Lambda function that writes data to DynamoDB.

    The next step was to customise it! After I changed the images and CSS to my own branding, the next thing to change was the data saved to the database – I changed it to a form with all the Oscar categories and nominees. Next, I wanted users to be able to review and update their votes, so I added another Lambda function that retrieves a logged-in user’s votes so the form can be populated correctly. I then added a third Lambda function that scans the complete database, processes the votes, and publishes an aggregate JSON file to S3. (This is triggered whenever the DynamoDB table is updated.) For actually displaying the prediction graphs, I used ChartJS.

    I think that covers everything! Many thanks to the Snook (my rubber duck and eternal programming mentor) as well as David, Jody, and Amy for their help with testing.

    I’m stupidly proud of this promo image.