-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mask for detector #116
Comments
The function here: find-object/src/MainWindow.cpp Line 1318 in fd9270a
You would have to create a fake depth image from the color mask, then feed that depth image to find_object_node. |
It seems that findObject::detect doesn't accept directly a mask. find-object/src/FindObject.cpp Line 1423 in fd9270a
However it uses the class ExtractFeaturesThread find-object/src/FindObject.cpp Line 1447 in fd9270a
in which the mask seems just initialized find-object/src/FindObject.cpp Lines 749 to 756 in fd9270a
If I've understood fine you are suggesting to replace the initialization of the mask with a variable mask that is the 4th channel. Of course I have to give as input a 4 channel image. Is it right? I'm not very experienced in programming in C++ so if you could give me some examples i would be grateful |
If you are using ROS, we can make rtabmap subscribe to a depth image (single channel 16bits unsigned short, or CV_16UC1). The depth image is passed here before find-object/src/MainWindow.cpp Line 1296 in fd9270a
As I said, you can add a new parameter to the function Regards, |
I've tried what you suggested and it works fine. Thanks |
You could set find-object/src/ros/FindObjectROS.cpp Line 61 in fd9270a
|
Hi,
I am using find_object_2d for a single object detection and manipulation task with a robot arm.The object is well known so I can detect it even with a single RGB camera. I need precious and robust result that seems to be reached with SIFT detector and description however I'm sure that I can do something better with a color based mask in order to filter out all the keypoints that can be similar but belong to a region with different color. So how can I impose a mask for detector?
Thanks
The text was updated successfully, but these errors were encountered: