-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Add realsense #6407
base: master
Are you sure you want to change the base?
Add realsense #6407
Conversation
…ing the Makefile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juhong-rdv Hi,
Is it better to integrate Intel-Realsense RGBD to the https://github.com/AlexeyAB/darknet/blob/master/src/yolo_console_dll.cpp instead of Darknet, as it is done for ZED-Camera, so it can show Distance to the objects too?
#ifdef REALSENSE2 | ||
printf("[RDV] Use Realsense2 Camea\n") ; | ||
|
||
CRealsense *cap = NULL; | ||
|
||
try | ||
{ | ||
cap = new CRealsense() ; | ||
} | ||
#else | ||
printf("[RDV] Use Opencv Video Capture\n") ; | ||
|
||
cv::VideoCapture* cap = NULL; | ||
try | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juhong-rdv Hi,
Is there any advantage to using cap = new CRealsense() ;
over cap = new cv::VideoCapture(index);
for Intel-Realsense RGB?
Is it better to integrate Intel-Realsense RGBD to the https://github.com/AlexeyAB/darknet/blob/master/src/yolo_console_dll.cpp as it is done for ZED-Camera, so it can show Distance to the objects too?
src/demo.c
Outdated
draw_detections_cv_v3(show_img, local_dets, local_nboxes, demo_thresh, demo_names, demo_alphabet, demo_classes, demo_ext_output); | ||
|
||
#ifdef REALSENSE2 | ||
|
||
draw_detections_cv_v3(show_img, local_dets, local_nboxes, demo_thresh, demo_names, demo_alphabet, demo_classes, demo_ext_output); | ||
#endif | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems draw_detections_cv_v3
is called twice.
…erent from color image. Todo: Debugging)
is it possible for you to update also the CMake toolchain? |
Realsense2 camera (RGB) can be used.