Giter Club home page Giter Club logo

Comments (6)

haoasdasdf avatar haoasdasdf commented on May 17, 2024
OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(4.5.5-pre) Error: Assertion failed (!_src.empty()) in cv::cvtColor, file C:\Users\chenyin\Desktop\stylization\opencv-4.x\modules\imgproc\src\color.cpp, line 182

not only me but also others had this issue.
It seems like developers hardcoded the path?
(Hi chenyin, please fix it thanks lol )

from davinci.

hyang0511 avatar hyang0511 commented on May 17, 2024

Sorry for this error.

We will fix it and rebuild the executable files in the most recent release.

Best,
Huan

from davinci.

hyang0511 avatar hyang0511 commented on May 17, 2024

Hi, we have checked that this problem occurs when the executable file could not find the input image file correctly. And the hard coded path is only some debug information which does not affect the running of the toolkits. Would you please double check if the input path of the image is correct or not? Also, please make sure that your "--input" option is not a folder. It only supports file path right now.

from davinci.

haoasdasdf avatar haoasdasdf commented on May 17, 2024

Hi Huan,
Thanks for reply.

I tried again but still had the same issue.

Here is my command and logs
I think input_video parameter was passed

PS C:\Users\stx\Desktop\tools\DaVinci_ISR_General_20220622> .\DaVinci_ISR_General_Tool_X4.exe --input .\2022-09-07_00-38-31.avi_20220907_010218.mp4 --output test.mp4
Please use the command as followed:
C:\Users\stx\Desktop\tools\DaVinci_ISR_General_20220622\DaVinci_ISR_General_Tool_X4.exe input output
PS C:\Users\stx\Desktop\tools\DaVinci_ISR_General_20220622>
PS C:\Users\stx\Desktop\tools\DaVinci_ISR_General_20220622> .\DaVinci_ISR_General_Tool_X2.exe .\2022-09-07_00-38-31.avi_20220907_010218.mp4 test.mp4
Selecting the fastest hardware
[0 Intel(R) HD Graphics 630]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 630]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 Intel(R) HD Graphics 630]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 Intel(R) HD Graphics 630]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1
Using the GPU:0
OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(4.5.5-pre) Error: Assertion failed (!_src.empty()) in cv::cvtColor, file C:\Users\chenyin\Desktop\stylization\opencv-4.x\modules\imgproc\src\color.cpp, line 182
PS C:\Users\stx\Desktop\tools\DaVinci_ISR_General_20220622>

May I ask that do I need to pre-install the OpenCV or anything?

Best Regards,

from davinci.

hyang0511 avatar hyang0511 commented on May 17, 2024

Actually, our released executable files for ISR do not support video inputs. You may want first to decode the video into frames then use our tools to super-resolve them.

from davinci.

haoasdasdf avatar haoasdasdf commented on May 17, 2024

Hi Huan,

I see, thanks.

Best Regards

from davinci.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.