Support ads
Buy us Beer
Categories
Pages

Archive for the ‘Software’ Category

A simple object classifier with Bag-of-Words using OpenCV 2.3 [w/ code]


Just wanted to share of some code I’ve been writing.
So I wanted to create a food classifier, for a cool project down in the Media Lab called FoodCam. It’s basically a camera that people put free food under, and they can send an email alert to the entire building to come eat (by pushing a huge button marked “Dinner Bell”). Really a cool thing.

OK let’s get down to business.
Read the rest of this entry »

Share

Download all your Last.fm loved tracks in two simple steps

I’m a fan of Last.fm online radio, and I have a habit of marking every good song that I hear as a “loved track”. Over the years I got quite a list, and so I decided to turn it into my jogging playlist. But for that, I need all the songs downloaded to my computer so I can put them on my mobile. While Last.fm does link to Amazon for downloading all the loved songs for pay, I’m going to walk the fine moral line here and suggest how you can download every song from existing free YouTube videos.
If it really bothers you, think of it as if I created a YouTube playlist and now I’m using my data plan to stream the songs off YT itself..
Moral issues resolved, we can move on to the scripting.
Read the rest of this entry »

Share

10 lines-of-code OCR HTTP service with Python, Tesseract and Tornado

Hi

I believe that every builder-hacker should have their own little Swiss-army-knife server that just does everything they need, but as a webservice. You can basically do anything as a service nowadays: image/audio/video manipulation, mock-cloud data storage, offload heavy computation, and so on.
Tornado, the lightweight Python webserver is perfect for this, and since so many of the projects these days have Python binding (see python-tesseract), it should be a breeze to integrate them with minimal work.
Let’s see how it’s done

Read the rest of this entry »

Share

An Android solution for listening to online radio while multitasking

Android + Yourmuze.fm + Dolphin Browser HD + XiiaLive = WIN

It’s been a while since I’ve posted anything in the blog… Sorry for that… very busy times. I had a lot of ideas of what my “comeback post” should be about, but I knew I had to share one of my relatively recent discoveries that made my smartphone online-radio listening experience a whole lot better

If you don’t know yourmuze.fm, this might be the time to get to know it. It’s a free service that has a LOT of worldwide radio stations available as an online stream for usage with most of the smartphones.

In order to start using it you need to register for free via your desktop computer, and add the stations you like. Later on, you can surf to the mobile version of the service by mobile web and listen to the stations you selected.

So far so good… I like it. But how about multitasking?

Read the rest of this entry »

Share

The proper way to run a remote process

This is the story of my journey to find a way to run a process (or a program on a remote pc)
This wasn’t an easy thing at all…

Overall, I thought, this should be an easy thing to do.
I found this C# code on a Microsoft forums

object[] theProcessToRun = { "notepad.exe" };
ConnectionOptions theConnection = new ConnectionOptions();
theConnection.Username = "username";
theConnection.Password = "password";
ManagementScope theScope = new ManagementScope("<\\\\" + IP + "\\root\\cimv2", theConnection);
ManagementClass theClass = new ManagementClass(theScope, new ManagementPath("Win32_Process"), new ObjectGetOptions());
theClass.InvokeMethod("Create", theProcessToRun);

I tried this code, not after forgetting to disable the firewall on the remote computer – a big downside but I guess if I had gone with it I’d hunt a way to stable port to unblock in the firewall.

 

Then I found the big downside (which can be an upside to some of you):
The remote process this way will never have a GUI window opened (In this example, a process of notepad will be opened in the background).
This can be a big advantage to system admins which want to run scripts.

 

Ok, back to the quest.

Read the rest of this entry »

Share

Enhance your GPS device

Many GPS devices are coming with built-in (or bundled) navigation software and does not allow you to install newer version or use the device in any other way that the original menu allows.

This, of course doesn’t mean that the device is not CAPABLE of running most of the applications. After all – it is running on Windows CE platform.

Googling a bit lead me to a project called MioPocket. This is a software that patches your mobile windows and installs lots of (freeware) utilities (media player for example) that can really upgrade your usage of the device.

One of the best features (and of course the main reason why those people wrote this utility) is that it enables you to run any navigation software.

stopword320x240mp

Read the rest of this entry »

Share

Dropbox – access important files from anywhere

Lots of people own several computers. Not to mention different operating systems.

Don’t you wish you had a folder with some files that will be accessible from every single one of your PCs ?

A friend of mine recommended Dropbox (www.getdropbox.com)
dropbox

This is a software, compatible with Windows, Linux and Mac, which creates a folder on your PC(/mac), that is linked to your account, and with every computer that runs the program (with the specific account) – This folder will be in complete sync.

If you need it from a shared pc – you also have a web interface to download your files.

Also,  a public folder is created which you can just send a direct link for your file to a friend

You get 2GB of online storage for this matter – completely for free from Dropbox, and you can also revert to earlier versions of your files.

Dropbox claims to be encrypted – but I can’t guarantee it, so I wouldn’t recommend using it for sensitive data (passwords, etc.)

I started using it. Definately recommend it!

Share

Recommended Software: Digsby

logo

 I’m the kind of guy who likes to be online. When I decide to be available for chat - the more the merrier.
Messenger, GTalk, GMail, Skype- you name it. digsby

I found about Digsby when I looked for a Facebook Chat client. Surfing the net brought me to Digsby’s website
and I must say I was impressed.

Digsby allows you to be online with all common IM clients all together as one contact list.

More than that – It also functions as email notifier and social network client (All of your facebook events for
example)

If you are “chat groupie” – I would really recommend you try this software

Share