Lädt...


🔧 Mystical Palm Reader AI


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Mystical Palm Reader AI: Unveiling Your Destiny with Pinata and AI

This is a submission for the The Pinata Challenge

Palm Reader AI Cover Image

What I Built

I developed "Palm Reader AI," an innovative (and mostly fun) webapp that combines the mystical art of palm reading with cutting-edge AI technology from HuggingFace and the Pinata decentralized storage. This application allows users to upload images of their palms, which are then analyzed by an AI model to generate personalized "readings." The palm images and the audio versions of the readings are stored securely using Pinata's IPFS solution, ensuring decentralized and persistent storage of user data.

Key features include:

  • AI-powered palm analysis
  • Text-to-speech conversion of readings
  • Decentralized storage of images and audio files
  • Interactive UI with real-time feedback
  • Gallery of past readings

Demo

You can try out the Palm Reader AI live at: https://palm-reader-ai2.onrender.com/

Here are some screenshots of the application in action:

Demo 1

Demo 2

Demo 3

My Code

The full source code for this project is available on GitHub:

GitHub logo ehernandezvilla / palm-reader-ai

DEV Pinata challenge - Palm Reader AI

Palm Reader AI 🔮🖐️

Tarot img Image: Unsplash - Viva Luna Studios

Palm Reader AI is an innovative (but mostly fun) web application that uses artificial intelligence to analyze palm images and provide mystical readings. This project was developed as part of the Dev Pinata challenge, showcasing the integration of AI technologies with decentralized storage solutions.

🌟 Features

  • Upload palm images for AI analysis
  • Receive personalized palm readings
  • Text-to-speech functionality for audio readings
  • Gallery of past readings
  • Responsive and mystical UI design

🚀 Tech Stack

  • Frontend: Next.js with React
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui
  • Animations: Framer Motion
  • Icons: Lucide React
  • API Requests: Axios
  • Text-to-Speech: Hugging Face Inference API
  • Decentralized Storage: Pinata IPFS

🧠 AI Models

  • Palm Analysis: facebook/detr-resnet-50 (Object Detection)
  • Text Generation: meta-llama/Llama-2-7b-chat-hf
  • Text-to-Speech: espnet/kan-bayashi_ljspeech_vits

🏗️ Project Structure

  • components/: React components (Hero, FileUpload, PalmReading, etc.)
  • pages/: Next.js pages…

More Details

Pinata played a crucial role in the development of this application. Here's how I utilized Pinata's services:

  1. Image Storage: When a user uploads a palm image, it's immediately stored on IPFS through Pinata. The returned IPFS hash is then used to retrieve the image for AI analysis.
   const audioFile = new File([audioBlob], 'reading.wav', { type: 'audio/wav' });
   const audioUploadResult = await uploadToPinata(audioFile);
  1. Audio Storage: After generating the palm reading, the application uses text-to-speech to create an audio version. This audio file is also stored on IPFS via Pinata.
   const audioResponse = await hf.textToSpeech({
     model: "espnet/kan-bayashi_ljspeech_vits",
     inputs: reading,
   });
   const audioBlob = new Blob([audioResponse], { type: 'audio/wav' });
   const audioUploadResult = await uploadToPinata(audioFile);
  1. Content Retrieval: The application uses Pinata's IPFS gateway to retrieve stored images and audio files for display and playback in the user interface.
   const imageUrl = `https://gateway.pinata.cloud/ipfs/${ipfsHash}`;
  1. Persistent Storage: By using Pinata's IPFS solution, all user data (palm images and audio readings) are stored in a decentralized manner, ensuring data persistence and availability.

The integration of Pinata's services allowed me to create a robust, decentralized storage solution for user-generated content, which is critical for the functionality and user experience of the Palm Reader AI application.

...

🔧 Mystical Palm Reader AI


📈 53.4 Punkte
🔧 Programmierung

🕵️ ImageMagick up to 7.0.8-67 PALM Image coders/palm.c AcquireQuantumMemory out-of-bounds read


📈 31.97 Punkte
🕵️ Sicherheitslücken

📰 Palm-Comeback perfekt: TCL meldet mit PVG100 ersten neuen Palm an


📈 31.97 Punkte
📰 IT Security Nachrichten

🔧 The Great Name Game: Mastering the Mystical Art of Naming Things in Programming


📈 31.24 Punkte
🔧 Programmierung

📰 Mystical Narrative Game Grotto Announced for PC and Consoles


📈 31.24 Punkte
📰 IT Security Nachrichten

📰 (g+) GPT-4, Llama, Claude und Palm: Können Sprachmodelle denken?


📈 15.98 Punkte
📰 IT Nachrichten

📰 Security Expert On Amazon One – Palm Scanner Launched For ‘Secure’ Payments


📈 15.98 Punkte
📰 IT Security Nachrichten

🔧 Google’s AI Research in Healthcare: Med-PaLM and Beyond


📈 15.98 Punkte
🔧 Programmierung

🪟 How to enable palm rejection on Windows 10 touch screen devices


📈 15.98 Punkte
🪟 Windows Tipps

📰 iPhone X Copies Palm’s webOS, Qualcomm Says in New Lawsuit - Video


📈 15.98 Punkte
📰 IT Security Nachrichten

🔧 Von Palm 2 bis GPT-4: Wie (in)transparent sind die großen KI-Modelle?


📈 15.98 Punkte
🔧 Programmierung

📰 How Good Is Google PaLM at Translation?


📈 15.98 Punkte
🔧 AI Nachrichten

🎥 Prototyping apps with Project IDX, Firebase extensions and the PaLM API


📈 15.98 Punkte
🎥 Videos

📰 Palm: Mini-Smartphone mit 3,3 Zoll - vollwertig, aber Mini-Akku


📈 15.98 Punkte
📰 IT Security Nachrichten

🎥 What's Left Before AGI? PaLM-E, 'GPT 4' and Multi-Modality


📈 15.98 Punkte
🎥 Künstliche Intelligenz Videos

📰 Expert Comment: Palm Scanner Launched For ‘Secure Payments’


📈 15.98 Punkte
📰 IT Security Nachrichten

🍏 Magic Rays of Light: The Big Cigar, Palm Royale, and Apple’s Theatrical Strategy


📈 15.98 Punkte
🍏 iOS / Mac OS

📰 How to enable palm rejection on Windows 10 touch screen devices


📈 15.98 Punkte
🖥️ Betriebssysteme

📰 Qualcomm setzt Palm-Patente gegen Apple ein


📈 15.98 Punkte
📰 IT Nachrichten

🪟 Newly introduced LLM Inflection-2 claims to outperform Google’s flagship PaLM 2, only 2nd to GPT4


📈 15.98 Punkte
🪟 Windows Tipps

🔧 Taschencomputer von 1996: Jetzt laufen Palm-PDAs auch auf deinem Smartphone


📈 15.98 Punkte
🔧 Programmierung

📰 2024 may be the year AI learns in the palm of your hand


📈 15.98 Punkte
📰 IT Nachrichten

📰 Palm Revived in Ultra-Small Size, Can't Decide if It's a Phone or a Smartwatch


📈 15.98 Punkte
📰 IT Security Nachrichten

📰 Amazon Will Now Let You Pay With Your Palm in Its Stores


📈 15.98 Punkte
📰 IT Security Nachrichten

🍏 Apple TV+ veröffentlicht neue Clips zu „Loot“, „Dark Matter“, „Palm Royale“ und mehr


📈 15.98 Punkte
🍏 iOS / Mac OS

📰 Palm-Mini-Smartphone erscheint in Deutschland


📈 15.98 Punkte
📰 IT Nachrichten

📰 Erstes Futro-Modell mit Palm-Secure


📈 15.98 Punkte
📰 IT Nachrichten

🔧 How to Use the PaLM 2 API


📈 15.98 Punkte
🔧 Programmierung

💾 Software Library: 200+ Palm-Anwendungen Englisch


📈 15.98 Punkte
💾 Downloads

📰 Philips is bringing 'touchless' palm recognition smart lock to US market


📈 15.98 Punkte
📰 IT Nachrichten

🕵️ Palm Treo 650/680/700p information disclosure [CVE-2007-0859]


📈 15.98 Punkte
🕵️ Sicherheitslücken

matomo