About

Ian Ozsvald picture

This is Ian Ozsvald's blog, I'm an entrepreneurial geek, an AI consultant, co-founder of the StrongSteam AI and data mining API, co-founder of the SocialTies App, author of the A.I.Cookbook, author of The Screencasting Handbook, a Pythonista, co-founder of ShowMeDo and FivePoundApps and also a Brightonian. Here's a little more about me.

View Ian Ozsvald's profile on LinkedIn Visit Ian Ozsvald's data science consulting business Protecting your bits. Open Rights Group

11 May 2012 - 17:40StrongSteam’s first novel OCR matching API (Python demo)

Here’s a preview of our first novel API in StrongSteam. We’ve been working with Optical Character Recognition (OCR) for a while, we set ourselves the task of matching a noisy photograph of some text to a pre-seeded database of entries. If you follow my blog you’ll already have seen our example iPhone app for the Royal Botanic Gardens, Kew, London (developed in collaboration with Kasabi):

Now rather than having to re-label 10,000 Latin plant labels with QR codes Kew can now use our matching technology on their existing labels to enrich a visitor’s experience of the gardens (and it turns out that a lot of visitors have iPhones and use Kew’s official app).

With our API we can do the same kind of task with photos of plaques from the London Science Museum where we match against 836 entries scraped from the Science Museum website. In the following video we match against text from the information plaque of Old Bess (née ‘Beelzebub’) in the Energy Hall:

This is just a preview, we’ve sent the Python & cURL API to some of our alpha users and will be inviting more in over the coming month. Here are some more OCR videos and here’s a work-in-progress demo of our image matching (using PhoneGap on an Android):

If you’d like to get access to our RESTful cloud-based computer vision APIs please sign-up on our StrongSteam homepage. Soon we’ll be adding raw OCR (with co-ordinates and font size reports) and image matching (particularly for stuff like brand logos and beer labels).

We’re super-keen to hear about your use cases and needs – please send me an email (ian AT strongsteam.com) and tell me what you need. We used to work on these problems in my consultancy (Mor Consulting), now we’re working to make our IP more available to all.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: ArtificialIntelligence, Life, Python, StrongSteam

31 March 2012 - 5:17Demos for Botanical Garden Label Matcher from StrongSteam

After a fair bit of graft we’ve finished our first product using StrongSteam – a Latin Botanical Garden label matcher (AKA “OpenPlants”) which runs at Kew Gardens, Wakehurst Place and other botanical gardens in Europe that use the usual black rectangular labels. If you’re not sure what I’m talking about then these 30 second demo videos should make it clear:

Update – I totally should have added that we built this app in partnership with Kasabi using their DBPedia dataset.

 

 

As you can see you photograph the plant label, we use optical character recognition to read what’s on the sign and then we bring back relevant information from wikipedia about the Family and Genus including pictures and links to other resources. We’ll launch this as a free app in a few weeks.

Seeing as StrongSteam is a cloud based API it makes sense to show it being used from another platform. Here’s a screencast showing a webcam on a Linux laptop taking a photograph of a printed plant label using our Python API which is uploaded and recognised, with the results being shown in the local web browser:

We’ll launch the alpha OCR API for developers in April. Add your email to the email list on our homepage to get an announce. Once the iPhone app is available we’ll also announce it here.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Life, Python, StrongSteam

30 March 2012 - 15:532nd Data/AI Meetup – official SUP event at Santiago’s hackerspace next Wednesday

I’m very chuffed to say that our 2nd AI/Data/API meetup will take place next Wednesday 4th April  7pm at the Santiago MakerSpace at Avenida Italia 850 (map). The HackerSpace is a 15 minute walk south/east from the CMI office, just off of Bilbao.

UPDATE we’re meeting at 7pm (not 7.30pm) and we have an extra speaker – Skype co-founder Ahti Heinla will tell the “Real story behind the Skype success story” in an extra 30 minute slot. Here’s the Meetup announce with full details. Remember to Attend if you’re coming and do UnAttend if you realise you can’t make it later (the numbers are limited).

The event is free (but bring cash for the specialist beer – see end of this post). Our four speakers will talk for 15 minutes each:

  • Ian and Kyran with StrongSteam with live demos of optical character recognition (OCR) and artwork recognition mobile apps (angellist)
  • Tim of BackYardBrains – “Curious about how your brain works? With the help of our friends the humble Amazonian cockroach, we will teach you the electrical properties of neurons.” – will include demos and hardware you can buy (angellist)
  • Ashley of PaperHater will give a live demo of their receipt/paper scanning and OCR application and talk about how they created a spinoff
  • Javier Gramajo of SQMOS will give a live demo of their augmented reality Android app (angellist)

StrongSteam and BackYardBrains are Round 2, PaperHater is in Round 3 and SQMOS are staying in Santiago after Round 1. Stick around after to learn about the hackerspace and drink Ignacio’s specialist beers.

The Maker/Hacker Space is the first in Santiago, here’s some news about their launch and they have a circuit building workshop  on 6-8th April. In this space you will find:

  • 3D printers
  • Robots with legs and robots that fly
  • 8 bit computers
  • Pinball machines
  • Dirty work space (CNC lathe and other construction equipment)
  • Lots of creative equipment that you can use to build electronic, mechanical, art and music things if you choose to become a member

Ignacio Correa of ClubCervezas will bring along specialist Chilean beers (to buy) – he took us on a beer tasting night in Bario Brasil a couple of weeks back and introduced us to a whole range of lovely local beers (300 microbreweries!) that we hadn’t tasted before. Bring some money if you’d like to try unusual and hard-to-find Chilean beers (my pockets will be stuffed with cash).


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: ArtificialIntelligence, Life, StartupChile, StrongSteam

18 March 2012 - 4:00High Performance Python 1 from PyCon 2012 (slides, video, src)

This is the follow-on for my PyCon 2012 notes from the end post. I gave a 3.5 hour tutorial on High Performance Python 1, below I link to the slides, the video and the source code.

Topics covered:

  1. Profiling with cProfile and line_profiler
  2. Profile visualisations with runsnake
  3. PyPy for quick wins
  4. Cython for C-level speed
  5. ShedSkin for ‘quick wins’ on the right problems
  6. Cython+numpy for multi-core (300* on this Mandelbrot problem) speed-ups
  7. Multiprocessing for multi-core support
  8. ParallelPython for multi-machine support
  9. Numexpr for faster numpy math

The other topics in this high performance track (a part of the tutorial track) are:

and there’s a full set of videos here.

After EuroPython I wrote up my talk with additional material as a 55 page book, I was hoping to update the book this year but things are moving so fast with our new StrongSteam AI/vision startup (presented at StartupRow at PyCon) that I can’t really justify the time right now. I’ll just link to the High Performance Python book from last year, the timings are out of date (but they’re correct in the slides below) and the src is updated a bit, but the method and discussion is still correct.

Github code for HighPerformancePython_PyCon2012.

Slides:

 

Video (3.5 hours) via pyvideo.org:

 


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Life, Python

31 January 2012 - 14:12Data mining/AI/robots/hackerspace meet-up this Thursday

This Thursday at 7pm our StrongSteam will run a friendly pub meet around:

  • Data mining
  • Artificial Intelligence (AI)
  • Robots
  • Hackerspaces

The goal is to bring people together from StartupChile and the local community who are interested in the above subjects. The meeting is just a pub meetup, if there’s demand then I’ll organise speakers for the next one.

The locations is Bar Lastarria, 70 Lastarria, Santiago (map). Here’s a photo:

Confirmed attendees include:

Here’s the official announce.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: ArtificialIntelligence, Entrepreneur, Life, StartupChile

26 November 2011 - 20:48Five new Brighton businesses

Earlier in the year through Matt Weston a group of us met, funded by the Innovation and Growth Team, to start a peer-group for a set of four (wait for it…) new businesses. The group was successful – and for several of us it led to the realisation that our plans at the time weren’t right. Emily and I were working on SocialTies as our project and trying to find a business hidden in the app, we decided against it and looked to other ideas.

Here’s what we’re working on. I hope it’ll encourage a few other folk to think about building new businesses.

The IGT funding dried up and so we now meet informally, our projects are:

I mentioned that I’d do a little write-up before we leave the country, Chris sent me this blurb about MightyHumble:

mighty humble is a small organic clothing company that believes in creativity, good design and responsible business.  We collaborate with hand picked creative talent to produce unique products using the most ethical and environmental sound materials, manufacturing and suppliers we can find. Our 100% cotton t-shirts are ethically made, certified organic by the Soil Association and manufactured solely using sustainable energy generated from wind power. We envisage our collection as wearable art which enables us to bring the work of some incredible talented people to a wider audience.  For mighty humble business is not just about turning a profit.  Experience has taught us that there’s more too it than that!  We believe a business can (and should) be a creative, fun and positive force.

Jo describeds Bookish as:

the home of unique literary gifts, typographic loveliness and beautiful bookish things – for readers, writers, dreamers, thinkers and bibliophiles everywhere

Jackie says:

Sales Precruitment is all about helping MDs of growing digital and technology companies prepare for recruiting their first (and additional) sales person.  Setting realistic targets, putting measurements in place, interviewing and induction, these are just a few of the things we can help with.  All this is done face to face at present but 2012 is the year I work out how to offer some of this support online… wish me luck!!

From January Emily, Kyran and myself are off to Chile for the StartupChile project, we’re taking TinyEars and StrongSteam as our 6 month projects. A part of our requirement for StartupChile is that we help build the entrepreneurial community – given our work building OpenCoffeeSussex, SheSays, FivePoundApp and GirlGeekDinners we figure we’re well placed to help bring interesting folk together. The opportunity to network with several hundred other folk who have jumped country to found new businesses is simply too good to pass up (along with living in a growing, upbeat country with a strong economy, a new language to learn and some Tango to practice).

For our StrongSteam we’re after alpha testers – we want non-AI developers (particularly web and mobile devs) who want access to image recognition, OCR, data mining and clustering tools. Emily is after collaborators and testers – particularly people with kids and iPad 2s.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

1 Comment | Tags: ArtificialIntelligence, Entrepreneur, Life

26 November 2011 - 18:14Broken economies, an economic thought, freelancer advice

A few of you who know me have caught more than a whiff of my increasingly sour mood over the state of many of our ‘developed’ economies. Between the bailouts of Greece, Ireland and Portugal, Italy about ready for a bail-out, Spain with 22% unemployment who might also need a bail-out (but…the EU packages can’t cover both countries needing a bail-out [scroll down to 'the tower of terror' diagram] – hence the jittery bond markets), Portuguese and Hungarian debt marked at junk status, Belgian‘s credit rating cut (after their embarrassing bail-out for Dexia which had passed #hoho all the stress tests earlier in the year) it is hard to be positive. The Economist and others now cover serious discussion about a possible end to the Euro.

The Economist also notes that there’s a reasonable chance we’re falling back into recession. It seems that end of Jan and Feb for Italy’s next round of bond auctions could make for very interesting events.

In the US Thanksgiving has been given over Black Friday (to get companies back in ‘the black’), this year the event aced all previous years with the deployment of pepperspray and guns by ‘competitive shoppers’ (such a wonderful euphemism! they can camp overnight and use weapons in the name of shopping but Occupy protesters can do neither in the name of protest). This video showing fights breaking out as shoppers try to win $2 waffle toasters brings it home. Still, at least the Super Committee figured out a way to get past the $15 trillion (and growing) debt pile. Oh, no, they didn’t, they just finger pointed and handed the problem back.

In the USA the losers are the private citizens, the winners are the companies. Over the last 50 years corporate profits are up and personal salary (as a percentage of GDP) is down (the key graphic) – if you run a big company you’ll be sitting pretty, everyone else has to work longer and harder just to stand still.

But it isn’t all grim. Interesting conversations are popping up questioning the basis for our financial systems, it is nice to see people try to plot new ways through to stronger economies or point out our too-relaxed view on recent changes. This begs the question – what happens when we can chart the progression of money (because maybe it is signed a la bitcoin), maybe we can penalise money for sitting still (e.g. letting it expire/evaporate)? The idea of enabling both the creation and destruction of money (in the first article) sounds novel, we rarely see money destroyed as a stabilising act (as in – removed from the system entirely) with our established currencies.  Might this force money to do ‘work’ rather than sit in someone’s bank account?

Finally, this brings me to the question of what one should be doing as a freelancer/small business owner. In a companion post (to come out by Monday) I’ll mention that we’re off to StartupChile for 6 months. For me I’m energised at the idea that in Santiago I can meet several hundred other company founders who have all decided to jump country (from all over the world) to expand their networks, help the locals boot-strap a tech ecosystem and build their companies. Taking risks and changing things around seems like a basic requirement for survival and growth in what’ll become a tougher economic environment (talk of a lost decade or two for the Western economies is now quite common).

Prior to applying to StartupChile I’d already started to build StrongSteam, our new AI/data mining product, with my old co-founder from ShowMeDo (our last big project). The goal is help folk create interesting data mining applications and to make my AI Consultancy more visible (just building and talking on it has increased in-bound work referrals by a factor of 4 in the last few months). Being visible and being fresh is absolutely critical to continued success. A couple of years back I’d realised I was getting stale (‘fat and slow’ as I put it) working for a few known clients. I fired myself for 6 months, built the AICookbook project (now defunct, it served its purpose), co-founded SocialTies and kicked myself into a higher gear.

Some takehomes:

  • If you’re not visible enough yet, take some time out and work on open and visible projects
  • If you’ve become stale then fire some clients and work on new challenges (preferably public ones)
  • Get on stage and talk about what you’ve learned, certainly post blog entries sharing what you’ve learned – being visible is key
  • If you’ve got spare time then dive into new projects, don’t wait to become stale (a mistake I made that cost me 6 months!)
  • Join local groups – we’ve got OpenCoffeeSussex here, plenty of tech groups, HackerNewsLondon an hour’s train ride away – meet new people and collaborate
  • Build alliances with companies you like to work with, help them, partner with them

I figure that’s enough with the ranting, noting it down  is cathartic. Now, back to building StrongSteam.

Hat-tip to @umairh as being the main person to open my eyes to the need to question how the world works over the last bunch of years. I’m much obliged to you. @johnrobb‘s resilient community work is also rather interesting.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Entrepreneur, Life

5 August 2011 - 12:23Social Ties now available for UK iPhones and any Android

This is just a quick post to say that we’ve released the iPhone build of Social Ties to the iTunes app store in the UK. Currently it only supports UK events so we’ve limited it to the UK AppStore, international events will follow later. The latest features include Bookmarking of people you’d like to meet and a Met button to mark the people you’ve already met. As noted today by a couple of users:

Yay now I can know who I should talk to at a conference and everything about them. Thanks @socialtiesapp http://bit.ly/rhka9U@juliancheal

Very impressed with the new @socialtiesapp for iPhone and Android. One to recommend to @briankelly I think! – @eventamplifier

Yay! @socialtiesapp is out on the iPhone and I’m unexpectedly famous! (see screenshots) – @bensummers

The Android BETA has been linked on our Social Ties homepage for a month, we’ll submit that to the Android AppStore once it is feature-complete to the iPhone build.

Followup updates on @socialtiesapp, you can follow us on @ianozsvald and @fluffyemily. If you want customised A.I. for your own project then talk to me, if you’d like mobile apps then talk to Emily.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Entrepreneur, Life

2 August 2011 - 11:57Dell E6420 with Ubuntu 10.10 (Maverick Meerkat) 32 bit

Having hacked away with Natty Narwahl for a few weeks I’m regressing to the 10.10 distribution provided by Dell here. Installation took 20 minutes, it allowed me to use the previous ext4 partition (I had to edit it using the advanced configuration and set the ext4 partition’s mount point from blank to ‘/’). I formatted the partition too for good measure. I made sure to reload the package list (via Synaptics) and let it fetch updates.

Running ‘uname -a’ reports that this is 32 bit: “Linux ian-Latitude-E6420 2.6.35-30-generic-pae #54-Ubuntu SMP Tue Jun 7 20:28:33 UTC 2011 i686 GNU/Linux”

Next I followed the instructions here to get access to sound and the touchpad (on the fresh install the ‘pad worked but had no side-scroll, now it has side-scroll). I used my previous instructions to get the edgers version of the NVIDIA drivers (not the ones on the Dell site), Optimus was already disabled and the NVIDIA drivers ‘just worked’. I had to install the Dell sound driver but then it also ‘just worked’. Flash with sound seems to have worked out of the box too.

Wifi was a pain – the Dell links didn’t work but downloading this (in Synaptic – the pae version) via this for my Broadcom BCM 5800 (ID: 0a5c:5800) gave me wifi on a reboot. I’ve also upgraded Firefox 3 to 5 via this.

Suspend and hibernate seem to be stable (unlike before with the 11.04 install – it randomly got stuck and lost my desktop). Rather pleasingly although I was getting a gig of Dropbox over Wifi and compiling new sources the battery tool reported 6 hours of battery life (which seemed true-ish, maybe 4 hours would have  been right, though I did have the screen on darkest as it was very late in the night). This beats the max 2 hours I got before with 11.04.

Overall regressing to the 10.10 build from Dell seems to be the right move. Update two weeks later – using the Dell image is definitely the right thing to do, everything ‘just works’ like it is supposed to. I get 4-6 hours battery life using the NVIDIA graphics card as my primary display.

Update – I’ve uploaded a modified script that disables the touchpad for a fraction of a second when you’re typing. This is necessary as the ALPS touchpad identifies itself as a PS/2 mouse rather than a trackpad due to proprietary drivers. The script is in my github repo as Dell_E6420_Touchpad_AutoDisabler. It contains minor fixes from Philip Aston’s excellent version here.

Update (Nov 2011) – Having used 10.10 for 2 months I’ve got some problems that I’ll list.

  1. About 1 in 20 lid closes do not cause the suspend behaviour to start. The result is that the laptop stays ‘on’ with the lid shut. After an hour it tries to go into (I guess) hibernate, for some reason it gets stuck. Next it gets hot, the fans run on full and after a while it is cooking at 80 degrees in my laptop bag, merrily eating the battery. If I get it in time I can open the screen – the backlight is on but nothing responds and I have to force power-off (holding the power button for 5 seconds). If I don’t get it in time it just kills the battery. Upon a reboot it boots a fresh session and everything is fine, sans all the previous session info (this hasn’t yet led to corruption)
  2. About once a month the machine freezes during use. It has happened just after a clean boot (after logging in, before doing anything). It has happened after days of use and many suspends. The behaviour is a total system lock, the screen doesn’t update, no mouse etc. A force power off is required.
  3. The in-built camera normally works with Skype, sometimes it fails to start and a reboot is required. The picture is grainy and doesn’t cope with low lighting conditions (I haven’t tried this on Windows). Using an older Logitech QuickCam Pro 9000 I get a bright, clear picture even in low light conditions for Skype.
  4. Power usage with the NVIDIA card on (Optimus off), using VirtualBox, with wifi and a bright screen is about 3 hours.

It is hard to know if this is a hardware fault (the BIOS-based self diagnostics which run for 30 mins report no problems) or a software fault. I’m inclined to think it is 10.10 and/or the Dell changes. I’m planning on trying 11.10 next in the hope that the SandyBridge chipset is better supported.

My take-home message so far is that if the manufacturer doesn’t support your OS (Dell only partially support Ubuntu), don’t buy from them. I believe HP might have been a better purchase.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Life, Ubuntu

13 July 2011 - 22:40SocialTies is coming

Slowly but surely we’re getting there with our social-discovery app for conferences. We aim to have SocialTies in the UK iPhone App Store in the next few weeks. I demoed it to several hundred folk at EuroPython a few weeks back and it was rather well received.

Currently the Android BETA is linked from the homepage, Emily is working on the iPhone version and we figure it is time to make it public (albeit just in the UK at first). Once we’ve had the initial round of feedback we’ll open it up to US and European users (I have to do some server-side plumbing for that to work yet). We’ll also put the Android v1 into the Android App Store shortly.

It is definitely just-out-of-beta, having said that we get good feedback and we’ve got users waiting for the iPhone release. If you’re curious, visit the site and add your email to the announce mailing list, we’ll let you know when the iPhone version is published.


Ian applies Artificial Intelligence as an Artificial Intelligence Researcher for companies (Mor Consulting), co-founded the StrongSteam A.I. datamining toolkit, co-authored SocialTies, programs Python, writes The Screencasting Handbook and is also a sea-side dweller and consumer of fine coffees.

No Comments | Tags: Life