How to improve Feature Matching in opencvjs?

Hi, I have to track and match an image in a video frame(webcam) using opencv js. I had generated keypoints and descriptors for both image and webcamera using ORB. For feature matching I have used bfMatcher and generated good matches by specifying distance so that only good matches will be matched. The good news is the keypoints are matching, but only if the image is rotated to landscape. I want to match the keypoints when the image is held straight in the webcam. Please help me to resolve this.