klevis / autonomousdriving Goto Github PK
View Code? Open in Web Editor NEWJava Autonomous Driving Appplication. Real time video car,pedistrians detection
Java Autonomous Driving Appplication. Real time video car,pedistrians detection
I'm glad to see your work. but I can not see the video window when I run the Run.java and choose the sample video. the console is printing info like below :
results = []
results = []
results = []
and when id run the CarVideoDetection.java ,it crash and print info like below:
and system warning like below:
Crashed Thread: 30 Java: Thread-0
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x20:
-->
__TEXT 00000001000d6000-00000001000e3000 [ 52K] r-x/rwx SM=COW /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java
can you mail to [email protected] tell me why ?
Hi Kelvis,
As soon as I execute Run.java i get progressBar showing ("Loading model this make take several seconds!") but after that the UI is not created. I am using windows 10 and eclipse. And when I run CarVideoDetection its throwing following error:
Exception in thread "main" Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class ramo.klevis.TinyYoloPrediction
at ramo.klevis.CarVideoDetection.lambda$0(CarVideoDetection.java:52)
at java.lang.Thread.run(Thread.java:745)
java.lang.ExceptionInInitializerError
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.(NativeOpExecutioner.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:6185)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:6087)
at org.nd4j.linalg.factory.Nd4j.(Nd4j.java:201)
at org.deeplearning4j.util.ModelSerializer.restoreComputationGraph(ModelSerializer.java:552)
at org.deeplearning4j.util.ModelSerializer.restoreComputationGraph(ModelSerializer.java:464)
at org.deeplearning4j.zoo.ZooModel.initPretrained(ZooModel.java:88)
at org.deeplearning4j.zoo.ZooModel.initPretrained(ZooModel.java:41)
at ramo.klevis.TinyYoloPrediction.(TinyYoloPrediction.java:31)
at ramo.klevis.TinyYoloPrediction.(TinyYoloPrediction.java:38)
at ramo.klevis.CarVideoDetection.startRealTimeVideoDetection(CarVideoDetection.java:61)
at ramo.klevis.CarVideoDetection.main(CarVideoDetection.java:24)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
at org.nd4j.nativeblas.NativeOpsHolder.(NativeOpsHolder.java:51)
at org.nd4j.nativeblas.NativeOpsHolder.(NativeOpsHolder.java:19)
... 17 more
Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1220)
at org.bytedeco.javacpp.Loader.load(Loader.java:980)
at org.bytedeco.javacpp.Loader.load(Loader.java:879)
at org.nd4j.nativeblas.Nd4jCpu.(Nd4jCpu.java:10)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.bytedeco.javacpp.Loader.load(Loader.java:938)
at org.bytedeco.javacpp.Loader.load(Loader.java:879)
at org.nd4j.nativeblas.Nd4jCpu$NativeOps.(Nd4jCpu.java:1292)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.nd4j.nativeblas.NativeOpsHolder.(NativeOpsHolder.java:29)
... 18 more
Caused by: java.lang.UnsatisfiedLinkError: no nd4jcpu in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1220)
at org.bytedeco.javacpp.Loader.load(Loader.java:965)
... 28 more
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\piyush\git\AutonomousDriving\resources\videoSample.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-06-01T03:27:16.000000Z
Duration: 00:01:00.12, start: 0.000000, bitrate: 713 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 639 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 71 kb/s (default)
Metadata:
creation_time : 2017-06-01T03:27:17.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.