Wow it's looks really great . Could you please explain how to draw those 3D object using OpenGL on OpenCV frame?. I've done some similiar project but somehow can't find how to exactly draw a 3D object. If you could explain it i would really appreciate it. Thank You.
@chuunibyou1327
3 жыл бұрын
I wasn't able to find a way to draw to the opencv frame so I instead took the frame from opencv and converted it so that I could use it as the background image of a openGL GLUT interface. Let me know if you want any more clarification on exactly what I did
@idabagusmahendra4936
3 жыл бұрын
@@chuunibyou1327 Thank you for your answer. I see so that's how it works, in that case could you share any reference to convert the OpenCV frame to OpenGL background? And then what kind of library you use to load those 3D object?
@chuunibyou1327
3 жыл бұрын
@@idabagusmahendra4936 I used this github repo as a reference github.com/MyDuan/openGL-openCV-python-sample in order to convert from OpenCV to OpenGL. I used this repo in order to load in .obj files github.com/yarolig/OBJFileLoader. If you want to see how I adapted them here is my code that I wrote its not the best as it was thrown together very quickly but you can take a look github.com/cjcarver/OpenGL-OpenCV-AR.
@idabagusmahendra4936
3 жыл бұрын
@@chuunibyou1327 Thank you very much, Can't wait to try it and I'll look up to your next project. Keep up the good work sir 👍
@tianlin8513
2 жыл бұрын
@@chuunibyou1327 Thank you so much for the pointers. I'm wondering if you can make an object with high resolution in openGL?
@abdurrahimbalta1015
2 жыл бұрын
Hi, any chance to share the codes? it is vital to me
Пікірлер: 11