你可以做虚拟绘画

virtualpen的Python项目详细描述


有了这个库,你可以在屏幕上进行虚拟绘制

功能/类别: 获取颜色-它以hsv值(即[57,56,0100255255])和相应的bgr值(即蓝色、绿色、红色)作为输入 并对掩模图像的轮廓进行处理。它还指出了被检测物体的中心点

getcontours - it takes images as a input. this functions helps the obtaincolor function to detects the contours and the
center point of the contour (i.e outer bounders of a detected shap or object) 

draw - this function takes coordinates of the detected object, bgr list to draw and an image. this function helps to draw the
the color when detected object is moving

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何为ConcurrentHashMap使用并设置适当的并发级别?   java泛型方法,运行时错误,   java在页面上显示加载的图像   java Paypal定期直接支付问题   java如何延迟重新绘制组件   JavaSpringBoot+Hibernate如何维护@Transient字段   java在其方法中获取关于类的信息   在java中将别名添加到枚举   java如何解决向google报告成绩时“需要重新连接客户端”的问题   清晰的java图像背景   java未找到适合JDateChooser的构造函数(字符串、字符串、字符)   java LRU缓存实现。某些测试用例的代码失败   if语句Java嵌套的if/Else条件   java JSoup“wrap”并非每次都按预期工作   Java Spring引导循环依赖于一个环境   ssl证书无法通过Java和IntelliJ连接到SOAP服务   带整数验证的Java扫描器   java在Flex中呈现具有动态列的datagrid   java Android:通过用户选择的选项将文件上载到服务器   子类中的java抛出错误、异常和运行时异常