Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image 如何使用“Julia中的图像”软件包向图像添加文本?_Image_Julia - Fatal编程技术网

Image 如何使用“Julia中的图像”软件包向图像添加文本?

Image 如何使用“Julia中的图像”软件包向图像添加文本?,image,julia,Image,Julia,我想使用julia中的图像向图像添加文本 我在谷歌上搜索过,但搜索结果在这方面并没有多大帮助 请指导我使用julia中的图像将指定坐标处的文本添加到图像中 我不知道只使用图像的解决方案,但您可以使用绘图和图像执行类似的操作 using Plots, Images img = load("test.png") plot(img) annotate!(1.,1.,text("test",20))

我想使用julia中的图像向图像添加文本
我在谷歌上搜索过,但搜索结果在这方面并没有多大帮助

请指导我使用julia中的图像将指定坐标处的文本添加到图像中

我不知道只使用图像的解决方案,但您可以使用绘图和图像执行类似的操作

using Plots, Images
img = load("test.png")
plot(img)
annotate!(1.,1.,text("test",20))