Classifying Documents with Generative AI

Generative AI and documents is a fairly common topic these days, typically in the form of creating summaries or asking questions about the documents. I was curious how generative AI could help in terms of classification. Way back in January of this year, I blogged about using Google’s Gemini API to classify images based on whether they were a photo, screenshot, or meme: "Using GenAI to Classify an Image as a Photo, Screenshot, or Meme". That actually worked well and I thought perhaps it could work with text as well. Specifically: Your organization gets an influx of documents, lets say many per day… And you would like to categorize them for sorting/processing later Before... more →
Posted in: JavaScript

Santa’s Big Adventure Tracker

🎅 Santa’s Big Adventure: Follow Him Around the World! 🌍It’s Christmas Eve—the most magical night of the year—and guess what? Santa is already zooming around the world, delivering gifts to kids just like YOU! 🎁 This year, you can join in the fun and track Santa’s incredible journey using some super cool Santa Trackers! 🎄✨ 🌟 The Snow-Globe Santa Tracker 🌟Imagine this: a magical snow-globe Maps Mania… more →
Posted in: Interactive Maps

Automating Object Detection with Google Gemini GenAI and Pipedream

For my last technical post of the year (although I can’t promise I’ll stop blogging!), I wanted to share an interesting workflow I built using Google Gemini and Pipedream. The idea was somewhat simple – how difficult would it be to build a "general purpose" workflow to look for objects in images and trigger an alert if certain things were found. Here’s what I was able to build. Step One – Image Input In my mind, I imagined this workflow would be tied to some service that was either streaming in video or generating still images. You could image a security camera posting new pictures every 30 seconds or so, or some other system that takes a picture at a regular... more →
Posted in: JavaScript

The Taco Bell Interstate Map

If you insist on only eating at a Taco Bell while driving cross-country then you need Think Outside the Bun. Think Outside the Bus is an interactive map of Taco Bell locations across the United States. For Taco Bell enthusiasts, this map is an invaluable tool, showing which states, cities, and even interstates offer the best access to affordable Mexican-inspired cuisine.The map uses the size of Maps Mania… more →
Posted in: Interactive Maps

In Search of My Next Role

This week I discovered, unfortunately, that my position at Adobe has been eliminated. I’m incredibly proud of what I’ve achieved during my time at Adobe, but now need to find my next opportunity. If you’ve ever gained anything from one of my posts, or presentations, I’d absolutely love a recommendation or referral for a position in developer relations. I’m also looking for a role where I could mentor, or lead, a team of developer advocates/evangelists. So, if you know of a role, or have a role yourself, please reach out! Raymond Camden… more →
Posted in: JavaScript

Adding PDFs to Your Webpage without JavaScript

Edited at 4:03PM to add a small note to the end. In my time at Adobe, one of the products I evangelized was the PDF Embed API, a JavaScript library for adding PDFs to a web page. I still recommend this library of course, but I was thinking this morning about how you could get similar results without JavaScript. Remember, you are allowed to build a web page and not ship any JavaScript. It’s ok, I won’t tell. Before looking at what I built, some context to why someone would use a library like Adobe’s PDF Embed: Browser’s have great built-in PDF support, natively, but the display is typically the entire page, which means you lose the context of the rest of your site. There’s... more →
Posted in: JavaScript

The Coldest Day of the Year

Did you know the coldest day of the year doesn’t arrive at the same time for everyone in the U.S.? While Groveland, California, is shivering through its chilliest day today, parts of the East Coast are still weeks away from their coldest temperatures. This is because the coldest day of the year, on average, occurs at least a month earlier on the western seaboard than on the eastern seaboard of Maps Mania… more →
Posted in: Interactive Maps

Summarizing with Transformers.js

Earlier this month I took my first look at using Transformers.js, a JavaScript SDK around multiple different models hosted by Hugging Face. My initial experiments worked pretty OK I think. The sentiment analysis felt pretty good, and the object detection (with a cat demo of course), worked pretty good as well. I was curious how well summarization would work, and while I’m not quite as impressed as I was before, I thought I’d share what I found. (And it’s 100% possible I’m not tweaking the right knobs to get better results, so if you see a way to improve my results, leave me a comment!) A Basic Test If you remember from the first post, usage can be fairly simple. Import... more →
Posted in: JavaScript
1 9 10 11 12 13 203