derenlei / Unity_Detection2AR

Localize 2D image object detection in 3D Scene with Yolo in Unity Barracuda and ARFoundation.
https://derenlei.medium.com/object-detection-with-localization-using-unity-barracuda-and-arfoundation-794b4eff02f8
MIT License
223 stars 61 forks source link

Support for grayscale #30

Open ashinmarin opened 3 years ago

ashinmarin commented 3 years ago

I have an onnx file trained with grayscale images and want to run the Detector Yolo3 script for it. But, its predictions are incorrect. So, I modified the script as follows, but unable to resolve all the bugs in the PhoneARCamera script. Please help in this regard. I have also changed the texture as TextureFormat.Alpha8. image

image

ashinmarin commented 3 years ago

Converted all Pixels32 to Pixels, got all the bugs resolved, but still there is no detection.

ashinmarin commented 3 years ago

Gentle reminder for support.