element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog DeepWhisper: Hunting Ghosts with Raspberry Pi and Artificial Intelligence
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: e14phil
  • Date Created: 26 Oct 2017 11:58 AM Date Created
  • Views 4033 views
  • Likes 8 likes
  • Comments 6 comments
Related
Recommended
  • node red
  • halloween
  • raspberry pi project
  • project
  • google
  • raspberry pi
  • sharethescare
  • spooky
  • raspberrypi
  • nodered
  • node
  • ghosts
  • rpi_beginner
  • google ai

DeepWhisper: Hunting Ghosts with Raspberry Pi and Artificial Intelligence

e14phil
e14phil
26 Oct 2017

Matt Reed from RedPepper has used a Raspberry Pi, Microphone, a Creepy Doll and  Google’s Speech Neural Network system to listen into .... Ghosts.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

image

"From October 27–31, we’ll be live streaming the DeepWhisper rig nightly from our offices in historic “Butchertown” Nashville so you can watch for any EVPs that may come through. Just the thing to do at 3am when you can’t sleep." - Matt Reed

 

The DeepWhisper Project  pipes a real-time microphone stream to Google’s Speech Neural Network, which can detect over 110 languages and then we’llimmediately display the results as they come back

 

www.DeepWhisper.io

 

 

 

 

 

 

 

Deep Whisper is Opensource so anyone can hunt their own ghosts.

it runs on Node and its libraries have been optimized for Raspberry Pis. You’ll need a USB microphone, Google Cloud Platform Project Key, a display, and patience.

Matt will upload a full repository link soon but, for now, here are the key code snippets.

 

Connecting to Google Voice Neural Network

You’ll need to have a project set up in the Google Cloud Platform console which will grant you an authentication JSON key that your app will use to connect. Just follow these steps to get that going. Note: you may have to set up billing with Google to proceed.

 

// Authenticate with Google Cloud
const speech = require('@google-cloud/speech')({
  projectId: 'deepwhisper-XXXXXXXX',
  keyFilename: 'Deepwhisper-XXXXXXX.json'
});

 

Streaming mic input to Google

Simply pipe the microphone input to Google, and if the Neural Network detects speech in any of the 110+ supported languages, it will be returned as a string of transcript text.

 

// Connect and listen to USB microphone
const micInstance = mic({
  rate: ‘16000’,
  channels: ‘1’,
  debug: true,
  exitOnSilence: 0
});
const micInputStream = micInstance.getAudioStream();
micInputStream.pipe(recognizeStream);
// Create a real-time recognize stream with Google
const recognizeStream = speech.streamingRecognize(request)
  .on(‘error’, console.error)
  .on(‘data’, (data) =>
  (data.results[0] && data.results[0].alternatives[0])
    ? io.emit('text', { transcript: data.results[0].alternatives[0].transcript })
    : `\nReached transcription time limit, press Ctrl+C\n`);

 

Display the results

Using a simple HTML page with Socket.IO, you can receive the results emitted by the server above and display them immediately. This uses jQuery to set the text and fade it out after five seconds.

 

<script>
  var socket = io.connect('http://localhost:3000');
  socket.on('text', function (data) {
  $('#transcript').text(data.transcript);
  $('#transcript').fadeIn();
  setTimeout(function(){
  $('#transcript').fadeOut(function(){
  $('#transcript').text('');
  });
  }, 5000);
 });
</script>

Source and Project Matt Reed at RedPepper.land

www.DeepWhisper.io

  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +1
    I like it. Plus you now have a sound detector. DAB
  • gam3t3ch
    gam3t3ch over 7 years ago +1
    Now the microphone what are you using? are we using a usb condensor microphone like a yeti or blue snowball? Personally I think running through a mixer with phantom power with an omnidirectional microphone…
  • balearicdynamics
    balearicdynamics over 7 years ago +1
    I like so much! Need more video showing ghosts ... Enrico
  • luizdavids
    luizdavids over 6 years ago

    ver interesting topic. where can I download the source code? tried to google it, no clues.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 7 years ago

    I like so much! Need more video showing ghosts ...

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gam3t3ch
    gam3t3ch over 7 years ago

    Now the microphone what are you using? are we using a usb condensor microphone like a yeti or blue snowball?  Personally I think running through a mixer with phantom power with an omnidirectional microphone would be the best result tho..

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ninjatrent
    ninjatrent over 7 years ago

    This configuration might be good for capturing an EVP if an EVP is instigated. Usually a paranormal investigator will ask a series of questions to incite a response that could then be recorded.

     

    https://en.wikipedia.org/wiki/Electronic_voice_phenomena

     

    A thermal imaging camera such as the Panasonic AMG8833 Thermal Camera and sensor capable of EMF Detection https://en.wikipedia.org/wiki/EMF_measurement   would be a great addition to this project.

     

    Here are a few images that have been captured with my AMG8833 IR Camera. (Not a ghost, just me)

    imageimage

     

    This is definitely a cool application of the Raspberry Pi 3. And I hope that it is successful in capturing an EVP.

     

    Thanks for sharing this post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gam3t3ch
    gam3t3ch over 7 years ago

    So cool. Would love to give this one a go. Nice stuff!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube