Halcon快速入门笔记15

*设定region显示样式

*轮廓模式

dev_set_draw (‘margin’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*填充模式

dev_set_draw (‘fill’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*

*设定窗口颜色

dev_set_color (‘yellow’)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*

*设定线宽

dev_set_line_width (5)

draw_circle (3600, Row, Column, Radius)

gen_circle (Circle, Row, Column, Radius)

*/

*显示文本

dev_clear_window ()

set_tposition (3600, 200, 200)

write_string (3600, ‘hello’)

read_image (Image, ‘fabrik’)

set_display_font (3600, 30, ‘mono’, ‘true’, ‘false’)

disp_message (3600, ‘hello world’, ‘window’, 100, 100, ‘black’, ‘true’)

disp_message (3600, ‘hello world’, ‘image’, 100, 100, ‘black’, ‘true’)

posted @   视觉人机器视觉  阅读(23)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端
点击右上角即可分享
微信分享提示