Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to separate query and train image after doing the matching

since the Mat object returned from .DrawMatches(..) method includes both of the query/object image on the left side and the train/scene image on the right side. is there any way get two separate Mat objects, one for the query/object image and the other for the train/scene image?

i am asking this question because i am tryin to detect an object when the camera sopts it, and what i got displayed on the designated area from the camera stream is, NOT only the train/scene image with the detected object highlighted, BUT an image with the query/object on the left side and the train/scene on the right.

in such case, how to got only either the query/object image or the train/scene image after doing the matching?

How to separate query and train image after doing the matching

since the Mat object returned from .DrawMatches(..) method includes both of the query/object image on the left side and the train/scene image on the right side. is there any way get two separate Mat objects, one for the query/object image and the other for the train/scene image?

i am asking this question because i am tryin to detect an object when the camera sopts spots it, and what i got displayed on the designated area from the camera stream is, NOT only the train/scene image with the detected object highlighted, BUT an image with the query/object on the left side and the train/scene on the right.

in such case, how to got only either the query/object image or the train/scene image after doing the matching?

How to separate query and train image after doing the matching

since the Mat object returned from .DrawMatches(..) method includes both of the query/object image on the left side and the train/scene image on the right side. is there any way get two separate Mat objects, one for the query/object image and the other for the train/scene image?

i am asking this question because i am tryin to detect an object when the camera spots it, and what i got displayed on the designated area from the camera stream is, NOT only the train/scene image with the detected object highlighted, BUT an image with the query/object on the left side and the train/scene on the right.right with the detected object highlighted.

in such case, how to got only either the query/object image or the train/scene image after doing the matching?