Ddouzataninaiools.hashnode.dev·Sep 24 · 18 min readTesting Image Processing Code with Pytest: A Color Transfer HarnessTesting image processing code gets much easier once you stop asking "is this the right picture?" and start asking what any correct output must satisfy: the same input gives the same bytes, a zero-stre00
Ddouzataninaiools.hashnode.dev·Sep 17 · 11 min readStructure a Creative Brief as Data Before You Prompt an Image ModelA creative brief as structured data, not a paragraph (AI generated concept image) A creative brief for an image model works better as a small data object than as a paragraph: define what you want as f00
Ddouzataninaiools.hashnode.dev·Sep 17 · 10 min readReference-based color transfer in Lab space: what the statistics keep and what they dropThe Color Grade Transfer tool page on Virse. Most reference-based color transfer runs on one statistical step: it matches the mean and standard deviation of each Lab channel between a source photo and00
Ddouzataninaiools.hashnode.dev·Sep 17 · 11 min readCheck a Photo-to-Line-Art Result with OpenCV Before You Re-Render ItThe AI Line Art Generator tool page on Virse Checking a photo-to-line-art result means comparing the shape of the output against the shape of the source photo with code, not just eyeballing it, before00
Ddouzataninaiools.hashnode.dev·Sep 16 · 7 min readUpdating YouTube descriptions with the Data API without wiping the snippetThe first script I wrote to bulk-update video descriptions also cleared the tags on every video it touched. Nothing errored. The API returned 200, the new description was live, and the tags were gone.00