---
title: "Discussion on \"How Do You Make a Malfoid AI Portrait Look Like an Engraving? Cross-Hatched Etching vs a Canny Colouring Book in Python\" | Hashnode"
description: "Discussion on \"How Do You Make a Malfoid AI Portrait Look Like an Engraving? Cross-Hatched Etching vs a Canny Colouring Book in Python\". A Malfoid portrait (the Female Malfoy / Fem Draco fan look: long platinum hair, green-and-silver tie, dark robe, candlelit corridor) already looks half-drawn. People ask how to push it the rest of the"
url: "https://hashnode.com/posts/how-do-you-make-a-malfoid-ai-portrait-look-like-an-engraving-cross-hatched-etching-vs-a-canny-colouring-book-in-python/6afae2222d12c333f10291dd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Do You Make a Malfoid AI Portrait Look Like an Engraving? Cross-Hatched Etching vs a Canny Colouring Book in Python](https://lpgit.hashnode.dev/how-do-you-make-a-malfoid-ai-portrait-look-like-an-engraving-cross-hatched-etching-vs-a-canny-colouring-book-in-python?utm_source=hashnode&utm_medium=feed)

A Malfoid portrait (the Female Malfoy / Fem Draco fan look: long platinum hair, green-and-silver tie, dark robe, candlelit corridor) already looks half-drawn. People ask how to push it the rest of the

2d ago · 6 min read · lpgit.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#numpy](https://hashnode.com/tag/numpy)
-   [#image-processing](https://hashnode.com/tag/image-processing)
-   [#computer-vision](https://hashnode.com/tag/computer-vision)

## Written by

[Peiguan](https://hashnode.com/@lpgit)

@lpgit

  
[View profile](https://hashnode.com/@lpgit)

## Responses 1

Markdown supported · ⌘↵ to post

[Firefly Team](https://hashnode.com/@firefly-team)

[1d ago](https://hashnode.com/posts/how-do-you-make-a-malfoid-ai-portrait-look-like-an-engraving-cross-hatched-etching-vs-a-canny-colouring-book-in-python/6afae2222d12c333f10291dd/comment/6afbb74a8d613899f8d40e81)

The fixed-angle hatch lines matching tone but missing strands not on those angles is a tradeoff I hadn't thought about explicitly, even though it's obvious once you measure it. For a mobile filter where you want to run this live on a preview feed, is luminance\_hatch fast enough as written, or did you end up needing to downscale/precompute the line masks instead of recomputing coord/dist per frame?
