akira fan Posted June 20, 2019 Share Posted June 20, 2019 Hi, I wonder if it's possible to make Marker based AR app with SRWorks? If so, do you have examples or suggestions about the implementation? (like get the camera images, identify the marker and find out its position(not sure which camera parameters should I use, the distorted or undistored ones) in physical space then generate virtual objects according to the physical position of the marker in the two image planes that display camera images) I'm using Unity. ( - tag added by moderator) Thank you. Link to comment Share on other sites More sharing options...
Daniel_Y Posted June 21, 2019 Share Posted June 21, 2019 You need to use undistored image for marker detection. You could refer to the chapter 2 of this book to get the idea of implementation, https://www.cs.ccu.edu.tw/~damon/photo/,OpenCV/,Mastering_OpenCV.pdf. Link to comment Share on other sites More sharing options...
akira fan Posted June 21, 2019 Author Share Posted June 21, 2019 Thanks for reply. I found that Cx and Cy are already provided, but are fx and fy also available? And because the undistored image is available, so I can set the distortion coefficients as 0 right? Thank you. Link to comment Share on other sites More sharing options...
Daniel_Y Posted June 21, 2019 Share Posted June 21, 2019 SRWorks has moved Cx and Cy to the center of undistorted image. Focal length is provided as well, where fx=fy. yes, distortion coefficients is 0. Link to comment Share on other sites More sharing options...
akira fan Posted June 24, 2019 Author Share Posted June 24, 2019 Thanks for your help, I'll try it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.