那我在网上购买一个变焦摄像头,配合相应固件可以实现自动调焦吗
E
ezvl 发布的帖子
-
如果我想外接一个1080P的屏幕,需要改变官网的代码吗,官方自带的屏幕分辨率有点低,有什么推荐的办法吗
如果我想外接一个1080P的屏幕,需要改变官网的代码吗,官方自带的屏幕分辨率有点低,有什么推荐的办法吗
-
如何把两个滤波效果叠加?比如我想改变对比度同时矫正画面,我依次执行代码时两个功能并没有同时实现
import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.WQXGA2) sensor.skip_frames(time = 2000) clock = time.clock() while(True): clock.tick() # A clip_limit of < 0 gives you normal adaptive histogram equalization # which may result in huge amounts of contrast noise... # A clip_limit of 1 does nothing. For best results go slightly higher # than 1 like below. The higher you go the closer you get back to # standard adaptive histogram equalization with huge contrast swings. img = sensor.snapshot().histeq(adaptive=True, clip_limit=3) img = sensor.snapshot().gamma_corr(gamma = 1.3, contrast = 1.0, brightness = 0.0) print(clock.fps())