saki4510t / UVC4UnityAndroid

UVC4UnityAndroid
Apache License 2.0
77 stars 19 forks source link

Unable to install package System.Text.Json 4.7.1 #3

Open HolyShitKillingMachine opened 4 years ago

HolyShitKillingMachine commented 4 years ago

hello,saki4510t I am using tensorflow with unity to show demo on android projector. have finished the project in editor,and test it on android phones. the projector needs the uvc camera to get the image for recognition.

So i am using your project ,and now ,i have install the nugetforunity to install system.text.json.but it failed a million times. I do not know why. image image image

Dream-47 commented 4 years ago

看到中式英语腔调我就用中文回答啊-v-. 应该是System.Text.Json库需要支持框架为.net4.6.1 而unity自从2018.1之后使用框架为.net4.7.1 So,无法使用System.Text.Json包,我也不知道作者是如何使用这个库的

解决方案->正如作者所提及的,涉及到Json数据处理的代码用其他Json包处理即可,亲测可用

HolyShitKillingMachine commented 4 years ago

@GeniusCyberpunk 目前遇到要在unity上使用android的uvc相机,蛋疼着呢,本身不会android,unityasset上的版本,要付费,65美刀,疼

Dream-47 commented 4 years ago

我也研究了好几天,目前发现的支持unity使用安卓uvc相机的的只有那个65刀的还有这个库。最底层的安卓uvc库就是这个作者写的。

HolyShitKillingMachine commented 4 years ago

@GeniusCyberpunk so,asset store上那个我测试过,不错哦,很破费,另外,我英语真有那么中式么。。。。。

HolyShitKillingMachine commented 4 years ago

@GeniusCyberpunk 对了,他说他用的2018.4.1版本的unity好像。这尼玛。。。。我tensorflow要求unity2019.2,他要求2018.4.。。

Dream-47 commented 4 years ago

@HolyShitKillingMachine 我的项目是2018.3.5,重新导入后可能需要一点修改,但是应该能跑通。

zyowo commented 4 years ago

233,和那个 65美刀的作者聊了好几个星期

zyowo commented 4 years ago

这个问题我问过了,安装 Json 的依赖的时候有点问题 只要先装 System.Runtime.CompilerServices.Unsafe 4.5.2 然后再装 System.Text.Json, 就可以了

MAYBreath commented 4 years ago

@GeniusCyberpunk so,asset store上那个我测试过,不错哦,很破费,另外,我英语真有那么中式么。。。。。

I都不大写 这个就足够了。。

lifei commented 2 years ago

各位老铁,拉个QQ群一起研究?