You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Fengju, I got problem running the code. The following error shown during testing. I have checked the variables 'prj' in function warpImg. I used temp. variable to check the problem as following. The size of the elements, say [0] and [1], in the array are the same 50176. How could the problem be solved???
Hi Fengju, I got problem running the code. The following error shown during testing. I have checked the variables 'prj' in function warpImg. I used temp. variable to check the problem as following. The size of the elements, say [0] and [1], in the array are the same 50176. How could the problem be solved???
tmpX = np.squeeze(np.asarray( prj[0,:] )).astype('float32')
tmpY = np.squeeze(np.asarray( prj[1,:] )).astype('float32')
File "main_fpn.py", line 50, in <module> renderer_fpn.render_fpn(outpu_proc, output_pose_db, output_render) File "E:\PROJECTs\FaceReconstruction\FacePose\Face-Pose-Net-master\renderer_fpn.py", line 88, in render_fpn model3D.ref_U, eyemask, model3D.facemask, opts) File "E:\PROJECTs\FaceReconstruction\FacePose\Face-Pose-Net-master/face_renderer\renderer.py", line 120, in render frontal_raw = warpImg(img, ref_U.shape[0], ref_U.shape[1], prj_jnt, ind_jnt) File "E:\PROJECTs\FaceReconstruction\FacePose\Face-Pose-Net-master/face_renderer\renderer.py", line 32, in warpImg pixels = cv2.remap(img, tmpX, tmpY, cv2.INTER_CUBIC) cv2.error: OpenCV(3.4.2) D:\Build\OpenCV\opencv-3.4.2\modules\imgproc\src\imgwarp.cpp:1728: error: (-215:Assertion failed) dst.cols < 32767 && dst.rows < 32767 && src.cols < 32767 && src.rows < 32767 in function 'cv::remap'
The text was updated successfully, but these errors were encountered: