打开PDF提示无法提取嵌入的字体cinema或者hello world

用CAJVIEW打开显示HELLO WORLD

用ADOBE PDF打开显示提示无法提取嵌入的字体cinema

说明计算机感染了一种病毒,这种病毒会自动加密电脑上的PDF和DOC文件,个人觉得是一种勒索病毒的变种,但是看起来又有些残缺。

火绒杀毒后,这种病毒叫做:

Virus/DOC.ExpPacker.a

Virus/PDF.ExpPacker.a

UE4和UE5中get gaze date没有输出节点的问题

在UE教程中,get gaze date节点中可以得到5个输出节点:

Out Gaze Data Gaze Origin

Out Gaze Data Gaze Direction

Out Gaze Data Fixation Point

Out Gaze Data Confidence Value

Return Value

但是在4.27和UE5中,get gaze date节点只有out gaze date 眼部追踪器凝视数据结构一个输出。实际上这是一个复合数据,有两种办法得到这5个输出节点。

首先第一种方法是直接在out gaze date输出节点上右键,点击分割结构体引脚,就可以得到上述五个输出节点的样子

第二种方法是从out gaze date上引出一个break节点,得到一个中断EyeTrackerGazeData节点,就可以把结构化的数据输出分成上述四个节点。

顺便吐槽一下,中文的UE4把这个翻译成了中断……其实个人理解意思是打开打散数据结构……

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的文件,然后点击右上角的小三角运行代码即可。