Automating Object Detection with Google Gemini GenAI and Pipedream / / No Comments 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 Tagged with: Automating, Detection, Gemini, GenAI, Google, Object, Pipedream
The Taco Bell Interstate Map / / No Comments 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 Tagged with: Bell, Interstate, Taco
In Search of My Next Role / / No Comments 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 Tagged with: Next, Role, search
Adding PDFs to Your Webpage without JavaScript / / No Comments 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 Tagged with: Adding, JavaScript, PDFs, Webpage, without
The Coldest Day of the Year / / No Comments 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 Tagged with: Coldest, year
Summarizing with Transformers.js / / No Comments 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 Tagged with: Summarizing, Transformers.js
The WaterwayMap / / No Comments The WaterwayMap is a visually beautiful interactive map that uses OpenStreetMap data to visualize the structure and flow of rivers around the world.At its core, WaterwayMap utilizes the directional data of waterways recorded in OpenStreetMap (OSM). In OSM, waterways are represented as ways – ordered lists of nodes that indicate the sequence and direction of flow. WWM uses this Maps Mania… more → Posted in: Interactive Maps Tagged with: WaterwayMap
The Twelve (Generative) Days of Christmas – 2024 Edition / / No Comments Last year I did a fun little experiment where I asked a few different generative models to generateimages based on the classic Twelve Days of Christmas song. For those unfamiliar, the song is about a series of gifts given over twelve days: partridge in a pear treetwo turtle dovesthree French hensfour calling birdsfive golden ringssix geese a-layingseven swans a-swimmingeight maids a-milkingnine ladies dancingten lords a-leapingeleven pipers pipingtwelve drummers drumming To be clear, this was done for fun, nothing more. Also, the prompts were literally just the lyrics, nothing more (with some exceptions, see the details below). In a ‘real world’ example if you wanted to generate images... more → Posted in: JavaScript Tagged with: 2024, Christmas, Days, Edition, Generative, Twelve