Closed tony-jinwoo-ahn closed 3 years ago
:memo: Version: 1.20190225. Thank you for submitting PR #179. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202009131833110.91383194923401-6d241ed6d2efc9348c9b78d2cc92ebec2ec29087/.
:octocat: cibot: @tony-jinwoo-ahn, One of the format checkers is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nnstreamer-example/wiki/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202009142031220.72911190986633-efc21a8d0fef3c6a280c581a62d6d1acedfbef66/.
@wooksong < Thank you for review!
:octocat: cibot: @tony-jinwoo-ahn, One of the format checkers is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nnstreamer-example/wiki/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202011200954510.46855807304382-83ca4bc8fedbb54ec6d8b5a323494a07d711c810/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202011200956470.090974092483521-d811ca8f43b7fd6a76f229679ad7dd575284ee5b/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202011201007090.50908088684082-ffbe62cc9103aa63aab19c8c6b1d74d7005f0fe9/.
:octocat: cibot: @tony-jinwoo-ahn, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/179-202011201032390.98884892463684-a454562ad8edee006bfc515d0171704420af8603/.
The CI system says your C++ code has glitches (potentially using uninitialized values):
[ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc: In function 'int main(int, char**)':
[ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc:829:7: error: 'dev_video2' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ 42s] 828 | g_strdup_printf
[ 42s] | ~~~~~~~~~~~~~~~
[ 42s] 829 | ("v4l2src name=src device=%s ! videoconvert ! videoscale ! "
[ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 830 | "video/x-raw,width=%d,height=%d,format=RGB ! "
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 831 | "jpegenc ! tcpserversink host=%s port=%d",
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 832 | dev_video2, VIDEO_WIDTH/2, VIDEO_HEIGHT/2, host, port2);
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc:822:7: error: 'dev_video1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ 42s] 821 | g_strdup_printf
[ 42s] | ~~~~~~~~~~~~~~~
[ 42s] 822 | ("v4l2src name=src device=%s ! videoconvert ! videoscale ! "
[ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 823 | "video/x-raw,width=%d,height=%d,format=RGB ! "
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 824 | "jpegenc ! tcpserversink host=%s port=%d",
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] 825 | dev_video1, VIDEO_WIDTH/2, VIDEO_HEIGHT/2, host, port1);
[ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42s] cc1plus: all warnings being treated as errors
[ 42s] [27/28] Linking target native/example_object_detection_tensorflow_lite/nnstreamer_example_object_detection_tflite
The CI system says your C++ code has glitches (potentially using uninitialized values):
[ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc: In function 'int main(int, char**)': [ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc:829:7: error: 'dev_video2' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 42s] 828 | g_strdup_printf [ 42s] | ~~~~~~~~~~~~~~~ [ 42s] 829 | ("v4l2src name=src device=%s ! videoconvert ! videoscale ! " [ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 830 | "video/x-raw,width=%d,height=%d,format=RGB ! " [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 831 | "jpegenc ! tcpserversink host=%s port=%d", [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 832 | dev_video2, VIDEO_WIDTH/2, VIDEO_HEIGHT/2, host, port2); [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] ../native/example_object_detection_tflite_2cam/nnstreamer_example_object_detection_tflite_2cam.cc:822:7: error: 'dev_video1' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 42s] 821 | g_strdup_printf [ 42s] | ~~~~~~~~~~~~~~~ [ 42s] 822 | ("v4l2src name=src device=%s ! videoconvert ! videoscale ! " [ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 823 | "video/x-raw,width=%d,height=%d,format=RGB ! " [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 824 | "jpegenc ! tcpserversink host=%s port=%d", [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] 825 | dev_video1, VIDEO_WIDTH/2, VIDEO_HEIGHT/2, host, port1); [ 42s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] cc1plus: all warnings being treated as errors [ 42s] [27/28] Linking target native/example_object_detection_tensorflow_lite/nnstreamer_example_object_detection_tflite
Thank you, I'll check it.
@anyj0527 Add this to README.md when you have some spare time :)
Thank you, I'd close related issue.
@anyj0527 Add this to README.md when you have some spare time :)
I can do this.
I'd add this to README.md in this weekend. :)
Add object detection example using 2 cameras with tflite.
Sender:
Raspberry Pi 4, Ubuntu Server 18.04 arm64 2 USB cameras (720p, 30fps) It streams videos with 2 cameras to 2 different network ports.
Receiver:
Ubuntu Desktop 18.04 It gets video streams from 2 network ports and detects objects.
Usage:
$ ./nnstreamer_example_object_detection_tflite_2cam sender IP PORT1 /dev/video0 PORT2 /dev/video1 $ ./nnstreamer_example_object_detection_tflite_2cam receiver IP PORT1 PORT2
Related issue
Resolves: https://github.com/nnstreamer/nnstreamer-example/issues/163
Self evaluation:
How to evaluate: