Show us yer programming projects!
Re: Show us yer programming projects!
Every time Bob and Steve release a teaser, and angel gets his wings... and a hummer.
Re: Show us yer programming projects!
Adapting my flashcard code into a Leitner System setup: http://failrate.com/b/leitner.xhtml
Right now, it's basically just a multiple choice quiz. I've got to wire up cookies in order to get the necessary session information required to create the Leitner System "boxes".
Right now, it's basically just a multiple choice quiz. I've got to wire up cookies in order to get the necessary session information required to create the Leitner System "boxes".
Re: Show us yer programming projects!
http://failrate.com/b/leitner.xhtml <- Leitner system quiz flashcard web page with cookie storage is complete. If you want a cheap and cheerful flashcard system for whatever you're trying to learn, feel free to blag the code. If you just want to use my link to study calculus, feel free.
Re: Show us yer programming projects!
Been playing with something new lately.
I started trying to put together a few computer vision type tools. So far they are crap at actually detecting things, but some of the output is pretty...

I started trying to put together a few computer vision type tools. So far they are crap at actually detecting things, but some of the output is pretty...

Re: Show us yer programming projects!
looks like a find edges filter
Re: Show us yer programming projects!
It's doing something slightly more interesting than that, although there is an edge detection component.
Essentially it is looking at a region around each pixel and deciding how similar it is to a region around a pixel in another image. Trying to match objects basically.
At the moment it is using histogram differences with edge orientation and chromaticity histograms.
At the moment I'm using a 25 bin orientation histogram laid out in a 5x5 grid for small and large gradients, and a 64 bin chroma histogram although I'm probably going to change that.
It's all based on an integral histogram representation that lets me do an O(n) preprocess (in number of pixels), and then get histograms for any rectangular sub region in O(1) time. It takes exactly as long to search 100x100 windows as it does 2x2 ones.
Unfortunately it does cruel and unusual things to machines with insufficient memory.
Here is an attempt to make it find my socks:

Essentially it is looking at a region around each pixel and deciding how similar it is to a region around a pixel in another image. Trying to match objects basically.
At the moment it is using histogram differences with edge orientation and chromaticity histograms.
At the moment I'm using a 25 bin orientation histogram laid out in a 5x5 grid for small and large gradients, and a 64 bin chroma histogram although I'm probably going to change that.
It's all based on an integral histogram representation that lets me do an O(n) preprocess (in number of pixels), and then get histograms for any rectangular sub region in O(1) time. It takes exactly as long to search 100x100 windows as it does 2x2 ones.
Unfortunately it does cruel and unusual things to machines with insufficient memory.
Here is an attempt to make it find my socks:

- _TinOmen_
- Baaaa!

- Posts: 745
- Joined: Wed Feb 12, 2003 10:52 pm 0
- Location: Stockholm, Sweden
- Contact:
Re: Show us yer programming projects!
I like those images. Computer vision is really interesting and it's one area that's really benefited from increased cpu and gpu power of desktop computers. Just 10-15 years ago all you could do in realtime was simple edge-detection on low res b/w images. I guess that's one of the reasons those robocup-players were so crap at finding the ball even under perfect viewing circumstances.
I'd love to see a technical paper with a diagram comparing how different methods succeed in finding your socks
I'd love to see a technical paper with a diagram comparing how different methods succeed in finding your socks
Re: Show us yer programming projects!
Phase 2 will be car keys.
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Show us yer programming projects!
Couple of new vids. Visually it's getting very close to being there now. I'll probably change the text dotted around the screen to something nicer.
Vertical scrolling level with Space Invaders homage in the middle:
My current favorite level in the game:
Cheers
Charlie
Vertical scrolling level with Space Invaders homage in the middle:
My current favorite level in the game:
Cheers
Charlie
Visit my website here to have a look at my game.
- piku
- Sheepie Whore

- Posts: 20960
- Joined: Wed Apr 24, 2002 10:44 am 0
- Website: Http://Www.ncot.uk
- Location: Wakefield
- Contact:
Re: Show us yer programming projects!
Make it find my watch and I'll buy ten...GoatFoam wrote:Phase 2 will be car keys.
return (0);
Re: Show us yer programming projects!
I stuck it into the STM repository along with my hdri stuff. If anyone wants a play get mercurial
hg clone http://www.spectral3d.co.uk/repo/stm/
you need to build the whole lot, as it uses lots of my old modules, but the histogram stuff is tucked away in executables/feature which isn't built by default.
Should build under linux and with mingw.Reply to topic
For how it actually works look at lib/image.h and lib/image.cpp and look for IntegralHistogram
hg clone http://www.spectral3d.co.uk/repo/stm/
you need to build the whole lot, as it uses lots of my old modules, but the histogram stuff is tucked away in executables/feature which isn't built by default.
Should build under linux and with mingw.Reply to topic
For how it actually works look at lib/image.h and lib/image.cpp and look for IntegralHistogram
- Devlin
- Baaaaa!

- Posts: 1380
- Joined: Tue Aug 02, 2005 10:53 pm 0
- XBL Gamertag: Anarkhis
- Location: Bradford, Sacred Sod of God's Own County
- Contact:
Re: Show us yer programming projects!
Err, poot. I appear to have broken my resolution to not code for an entire year.
This is what happens when internet is taken away from me except for ~2 hours a day.
I invested in Game Maker 8 and got to work with it. Not bad, lots of vast improvements from GM7(thank god) plus a few *much needed* updates
Coming soon - a game involving pirates in my "new" style
This is what happens when internet is taken away from me except for ~2 hours a day.
I invested in Game Maker 8 and got to work with it. Not bad, lots of vast improvements from GM7(thank god) plus a few *much needed* updates
Coming soon - a game involving pirates in my "new" style
Re: Show us yer programming projects!
I have been mucking around with the gimp plugin interface.
I adapted that computer vision code I was playing with to implement a simplified bilateral filter, AKA surface blur.
It takes a huge amount of memory, but suffers virtually no performance drop as you increase the filter size.
before:

after:

and a bit more:

processing time: a few seconds.
I adapted that computer vision code I was playing with to implement a simplified bilateral filter, AKA surface blur.
It takes a huge amount of memory, but suffers virtually no performance drop as you increase the filter size.
before:

after:

and a bit more:

processing time: a few seconds.
Re: Show us yer programming projects!
Anyone want to try my new gimp surface blur plugin?
Get it here:
http://www.spectral3d.co.uk/misc/bilateral.tar.gz
it's a
./configure
make
sudo make install
type of thing, and you need to have the gimp headers installed.
It should appear in the filters menu under blur/simple bilateral
Get it here:
http://www.spectral3d.co.uk/misc/bilateral.tar.gz
it's a
./configure
make
sudo make install
type of thing, and you need to have the gimp headers installed.
It should appear in the filters menu under blur/simple bilateral
Re: Show us yer programming projects!
Here's a pretty bad game for the Mac 
It's very easy. You need to dodge the ducks, you get more points the longer you survive.
You get more (and significant) points if you get close to a duck. If you do that they start to expand and eventually explode.
Very early alpha so there are a load of caveats:
* Need balancing and some sort of wave structure.
* Needs to force full screen
* You can move your duck hugely off screen
* Intel only
V slow on intel integrated shitty gfx
But if you have a newish mac it should run okay
http://www.gazaxian.com/msd_yy2.zip
Nice musics and sfx by swith
My top score so far is 11k
It's very easy. You need to dodge the ducks, you get more points the longer you survive.
You get more (and significant) points if you get close to a duck. If you do that they start to expand and eventually explode.
Very early alpha so there are a load of caveats:
* Need balancing and some sort of wave structure.
* Needs to force full screen
* You can move your duck hugely off screen
* Intel only
V slow on intel integrated shitty gfx
But if you have a newish mac it should run okay
http://www.gazaxian.com/msd_yy2.zip
Nice musics and sfx by swith
My top score so far is 11k

