OpenCVForUnity | OpenCV for Unity | Plugin library
kandi X-RAY | OpenCVForUnity Summary
kandi X-RAY | OpenCVForUnity Summary
OpenCV for Unity (Untiy Asset Plugin)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of OpenCVForUnity
OpenCVForUnity Key Features
OpenCVForUnity Examples and Code Snippets
Community Discussions
Trending Discussions on OpenCVForUnity
QUESTION
I have been trying to perform AruCo or Marker detection in unity using a customer camera that can provide a texture, this is not a regular camera so you cant use the regular webcamtexture that comes with the package, i have been trying everything that i can imagine but it just dont work for me. I have tested so many things so ill post my code for AruCo and maybe someone can help me fix this, the code dont show any errors but it also doesnt detect anything or at minimum i was expecting the rejected corners to be detected.
...ANSWER
Answered 2020-Aug-11 at 22:27The problem with the code was that the images were coming as Alpha8 texture and OpenCV works with RGB texture, so when i was converting to RGB the A part was been strip from the image which was pretty much the only content in it.
The solution was posted on this other thread: Solution to change format from Alpha8 to RGBA texture.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OpenCVForUnity
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page