The 'UXTools' plugin was designed for build 5.0.3. Attempt to load it anyway?打包失败

我们来谈谈微软的大坑:当打开hololens项目文件的时候,报错:

The 'UXTools' plugin was designed for build 5.0.3. Attempt to load it anyway?

'GraphicsToolsExamples' is Incompatible

The 'GraphicsToolsExamples' plugin was designed for build 5.0.3. Attempt to load it anyway?

但是不影响项目运行,可是打包的时候会报错:

UATHelper: 打包 (HoloLens): LogBlueprint: Error: [AssetLog] E:\UEPJSPEED\DELTEST0308\Content\config1\MRPAWNnew.uasset: [Compiler] 生成节点 生成Actor NONE 必须指定一个 Class 。 from Source: /Game/config1/MRPAWNnew.MRPAWNnew
UATHelper: 打包 (HoloLens): LogBlueprint: Error: [AssetLog] E:\UEPJSPEED\DELTEST0308\Content\config1\MRPAWNnew.uasset: [Compiler] 生成节点 生成Actor NONE 必须指定一个 Class 。 from Source: /Game/config1/MRPAWNnew.MRPAWNnew

The python code to batch modify the image resolution and fill the redundant area of the image

This code is for beginners to use, we refer to a lot of code on the Internet, thank the predecessors for their contributions.

The goal of this code is to modify the resolution of all the pictures to 128*128. While modifying the images, it will not elongate them, but supplement the deformed part by filling pure white(any color can be fill by change RGB), which is conducive to the training of GAN.

The code is python, can be copied later debugging use.

Thanks for xinggui.

The last part 【cut_images('F:/date/JPG128enhance/', 'new', 128, 128)】is the target folder you want to enhance.

And 128 represents the image resolution that needs to be modified. For example, 128, 128 represents a picture with a resolution of 128*128, if you need other picture resolutions, you can modify it yourself.
The way for beginners to use is to copy this code into vscode, modify the address of the target directory, save it as a .py file, and then click the small triangle in the upper right corner to run the code.

基于python的图像批量修改分辨率且周边填充空白的代码

小白写的,小白用,也是参考了网上的很多代码,感谢大佬们的贡献。

这个代码的目标是,把所有图片全部分辨率修改为128*128,在修改的同时并不会拉长图像,而是通过填充纯白色的方式来补充变形部分,有利于GAN的训练。

代码是python的,当时和星轨桑一起研究的,但是如何发挥工作已经忘记了,可以复制以后自行调试使用。

其中最后一段【cut_images('F:/date/JPG128enhance/', 'new', 128, 128)】是需要修改的目标文件夹,依照自己所需要转换的文件夹来使用,而128代表着需要修改的图片分辨率,举例子128,128代表着128*128分辨率的图片,如果需要其他图片分辨率就自己修改好了,小白的使用方法就是把这段代码复制到vscode里,修改好目标目录的地址,另存为一个.py的文件,然后点击右上角的小三角运行代码即可。

Adobe Acrobat Pro DC无法处理页面 因为“页面捕捉”识别服务发生错误 (6)解决办法

最近安装Adobe acrobat Pro DC,发现中文识别过程中出现了错误,报错: 无法处理页面,因为“页面捕捉”识别服务发生错误 (6) 网上查了几种办法: 一种说是重新在控制面板——安装程序里面修复,尝试以后发现没有这个选项…… 第二种办法是说开启平滑,开启以后也没有解决问题……  ……

【unreal4】 虚幻引擎中获取虚拟摄像机图像并导入UI(UMG)实时显示

最终效果
最终效果(左侧为UI中的摄像头)

完成目标:在虚幻引擎中实时获取虚拟摄像机的镜头图像,并在GUI中显示,类似于赛车游戏中左右后视镜显示图像,或者摄像头实时采集图像信息显示在GUI界面中,或者在VR中实现摄像机的实时画面采集。

测试版本:4.26(多数版本都可通用)

需要用到的知识:

1、场景捕获组件2D(SceneCaptureComponent2D)

2、画布渲染目标材质(CanvasRenderTarget2D)

3、UI中的图像模块(image)

 

功能实现思路:想要实现获取虚拟摄像机图像并导入UI实时显示,就需要一个实时捕获画面并将其转换为动态材质的方式,通过场景捕获组件2D获得实时画面流,将渲染目标材质转换为普通材质,最后在GUI中创建图像,并为该模块赋予图像材质即可。