You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (JIRA)" <ji...@apache.org> on 2019/07/31 22:09:00 UTC

[jira] [Updated] (MINIFICPP-995) Opencv testing should be improved

     [ https://issues.apache.org/jira/browse/MINIFICPP-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpad Boda updated MINIFICPP-995:
---------------------------------
    Description: 
As we proceed with opencv we will need to be able to verify motion-detection and face-detection for eg., which requires using captures, basically being able to stream video in our unit or integration tests. 

The current opencv tests seems to fail anyway, but it's not a big issue given it depends on an external source:

{code}

[2019-08-tracel 00:04:04.971] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [trace] CaptureRTSPFrame processor scheduled

OpenCV: Couldn't read video stream from file "rtsp://:@170.93.143.139/abcd"

[2019-08-errorl 00:04:04.972] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [error] Unable to open RTSP stream: OpenCV(4.1.0) /Users/aboda/work/shadow/PRs/nifi-minifi-cpp/build/extensions/opencv/thirdparty/opencv/opencv-external/src/opencv-external/modules/videoio/src/cap.cpp:206: error: (-215:Assertion failed) api != 0 in function 'getBackendName'

{code}

  was:
As we proceed with opencv we will need to be able to verify motion-detection and face-detection for eg., which requires using captures, basically being able to stream video in our unit or integration tests. 

The current opencv tests seems to fail anyway, but it's not a big issue given it depends on an external source:

```

[2019-08-tracel 00:04:04.971] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [trace] CaptureRTSPFrame processor scheduled

OpenCV: Couldn't read video stream from file "rtsp://:@170.93.143.139/abcd"

[2019-08-errorl 00:04:04.972] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [error] Unable to open RTSP stream: OpenCV(4.1.0) /Users/aboda/work/shadow/PRs/nifi-minifi-cpp/build/extensions/opencv/thirdparty/opencv/opencv-external/src/opencv-external/modules/videoio/src/cap.cpp:206: error: (-215:Assertion failed) api != 0 in function 'getBackendName'

```


> Opencv testing should be improved
> ---------------------------------
>
>                 Key: MINIFICPP-995
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-995
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Arpad Boda
>            Assignee: Nghia Le
>            Priority: Minor
>
> As we proceed with opencv we will need to be able to verify motion-detection and face-detection for eg., which requires using captures, basically being able to stream video in our unit or integration tests. 
> The current opencv tests seems to fail anyway, but it's not a big issue given it depends on an external source:
> {code}
> [2019-08-tracel 00:04:04.971] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [trace] CaptureRTSPFrame processor scheduled
> OpenCV: Couldn't read video stream from file "rtsp://:@170.93.143.139/abcd"
> [2019-08-errorl 00:04:04.972] [org::apache::nifi::minifi::processors::CaptureRTSPFrame] [error] Unable to open RTSP stream: OpenCV(4.1.0) /Users/aboda/work/shadow/PRs/nifi-minifi-cpp/build/extensions/opencv/thirdparty/opencv/opencv-external/src/opencv-external/modules/videoio/src/cap.cpp:206: error: (-215:Assertion failed) api != 0 in function 'getBackendName'
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)