Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Greg
@greg@icosahedron.website  ·  activity timestamp 2 weeks ago

A couple weeks ago @aeonofdiscord showed me "The Hitch-hiker's Guide to Artificial Intelligence" from 1986, a book by Richard Forsyth and Chris Naylor, which teaches readers the state-of-the-art in AI using... BASIC programming type-ins. There's some extremely minimal examples of expert systems, A* maze path search, alpha-beta game trees, etc. but one that made me curious was a "Perceptron image classifier" for machine vision. Image classification in 16kb? I had to see for myself if it would work, so I made a #Processing version. And, amazingly, it actually does - giving about 7 examples of a smile vs frown face, it can then distinguish between the two. Not bad for an idea from 1957!

#computervision #perceptron

Your browser does not support the video tag.
GIF
GIF
A computer drawing program. The user draws simple, black-and-white smiling or frowning faces. On the right, the program correctly classifies each one as either smiling or frowning.
A computer drawing program. The user draws simple, black-and-white smiling or frowning faces. On the right, the program correctly classifies each one as either smiling or frowning.
  • Copy link
  • Flag this post
  • Block
Greg
@greg@icosahedron.website replied  ·  activity timestamp 2 weeks ago

@aeonofdiscord Internet Archive has copies of the book for BBC Micro, Amstrad and IBM PC BASIC, which is where I got the code from:
https://archive.org/details/forsyth-naylor-hitchhikers-guide-to-ai-pc-basic/mode/2up

And the Processing version of it I wrote: https://gist.github.com/greg-kennedy/b6d365f22d5cfa03fdbbb7946bba8e12

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login