Mattyhawk
Posts: 10
Joined: Tue Nov 20, 2018 8:28 pm

Making an ai

Wed May 15, 2019 4:41 pm

I want to code an ai that can recognise noises like a dog barking and put it in a website.
I'm not sure how to do this though.
I guess that I will have to code it in html.
Does anyone have any ideas.

User avatar
B.Goode
Posts: 7858
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Making an ai

Wed May 15, 2019 8:49 pm

Mattyhawk wrote:
Wed May 15, 2019 4:41 pm
I want to code an ai that can recognise noises like a dog barking and put it in a website.... I guess that I will have to code it in html.


The name HTML is a contraction (abbreviation, or acronym, or something like that) of the full title - HyperText Markup Language.

Its purpose is to describe the elements of documents such as web pages.

So the final presentation of the result of your detection of a dog barking might use HTML to generate a modified web page.

But it probably won't be the means by which you process an audio feed and determine that it represents a dog.

Your project sounds similar to the way that 'agents' like Alexa and Siri recognise their own names as a trigger for processing further commands. That 'AI' part seems to be much more challenging than the presentation of a web page.

Andyroo
Posts: 3280
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Making an ai

Wed May 15, 2019 9:59 pm

Have a look at http://www.orelia.fr/en/technology/audi ... level.html

The video identifies a drone so it can be done but no idea of the cost or work involved :lol: Also read the difference between identification and recognition.

Pattern matching may well be possible on the Pi.
Need Pi spray - these things are breeding in my house...

User avatar
Gavinmc42
Posts: 3149
Joined: Wed Aug 28, 2013 3:31 am

Re: Making an ai

Thu May 16, 2019 2:36 am

On a website for external viewing, means internet access so online recognition software?
Lassie using Siri to order dog food for drone delivery?

There are now a few Hats and FPGA boards with microphones.
Tensorflow Lite or something like that might work.

Audio spectrograms are used for bird recog.
FFT's can be used but there is some research showing LPC generates less noise(data) making it easier for the AI.

Start with Speex on Pi's?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Heater
Posts: 12629
Joined: Tue Jul 17, 2012 3:02 pm

Re: Making an ai

Mon May 20, 2019 6:45 am

Mattyhawk wrote:
Wed May 15, 2019 4:41 pm
I want to code an ai that can recognise noises like a dog barking and put it in a website.
I'm not sure how to do this though.
I guess that I will have to code it in html.
Does anyone have any ideas.
Yes.

HTML is not a programming language. It's a text mark up language. So you ain't writing any AI codes in that.

Get yourself one of these: https://www.seeedstudio.com/Grove-AI-HA ... -4026.html

seedstudio have microphones, cameras and all kind of things to plug into that. It's very cheap. If you cannot wait for that particular Pi HAT board they have other similar but non-HAT format boards.

There is hardware acceleration on there for the AI things you will need like neural nets, convolution and FFT. As faras I understand they have AI libraries that allow you to use it all from Python.

You can always display your results, formatted with HTML, in a web page from a server on your Pi.

When you have figured out how to do it and have a working sound recognition system, please do write about it somewhere and let us know. I'd be interested in getting started with that but don't have the time for it.

Return to “Other programming languages”