TA的每日心情 | 擦汗 2020-10-26 09:31 |
---|
签到天数: 8 天 [LV.3]偶尔看看II
星辰大海
- 积分
- 372141
|
本帖最后由 Mekozoko 于 2019-12-18 18:17 编辑
跟楼上几位问题差不多,选完区域后一点参数就报错,点开始也报错,下面是字幕区域和点“开始”报错的错误信息。JDK和JRE都是11
- CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.1.0) c:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgproc\src\color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function '__cdecl cv::impl::`anonymous-namespace'::CvtHelper<struct cv::impl::`anonymous namespace'::Set<3,4,-1>,struct cv::impl::A0xfc3c825a::Set<1,-1,-1>,struct cv::impl::A0xfc3c825a::Set<0,2,5>,2>::CvtHelper(const class cv::_InputArray &,const class cv::_OutputArray &,int)'
- > Invalid number of channels in input image:
- > 'VScn::contains(scn)'
- > where
- > 'scn' is 1
- ]
- at org.opencv.imgproc.Imgproc.cvtColor_1(Native Method)
- at org.opencv.imgproc.Imgproc.cvtColor(Imgproc.java:2309)
- at com.neo.caption.ocr.opencv.ImageUtil2.cvtColor(ImageUtil2.java:279)
- at com.neo.caption.ocr.opencv.ImageUtil2.filter(ImageUtil2.java:169)
- at com.neo.caption.ocr.opencv.ImageUtil2.replaceRoiImage(ImageUtil2.java:131)
- at com.neo.caption.ocr.fx.controller.FilterController.readVideo(FilterController.java:281)
- at com.neo.caption.ocr.fx.controller.FilterController.lambda$bindListener$5(FilterController.java:149)
- at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
- at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
- at javafx.beans.property.DoublePropertyBase.fireValueChangedEvent(DoublePropertyBase.java:106)
- at javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:113)
- at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:147)
- at javafx.scene.control.Slider.setValue(Slider.java:213)
- at javafx.scene.control.Slider.adjustValue(Slider.java:587)
- at com.sun.javafx.scene.control.behavior.SliderBehavior.trackPress(SliderBehavior.java:136)
- at com.sun.javafx.scene.control.skin.SliderSkin.lambda$initialize$0(SliderSkin.java:108)
- at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
- at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
- at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
- at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
- at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
- at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
- at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
- at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
- at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
- at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
- at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
- at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
- at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
- at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
- at javafx.event.Event.fireEvent(Event.java:198)
- at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
- at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
- at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
- at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
- at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394)
- at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
- at java.security.AccessController.doPrivileged(Native Method)
- at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:432)
- at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
- at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431)
- at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
- at com.sun.glass.ui.View.notifyMouse(View.java:937)
- at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
- at com.sun.glass.ui.win.WinApplication.lambda$null$3(WinApplication.java:177)
- at java.lang.Thread.run(Thread.java:748)
复制代码
|
|