Git Product home page Git Product logo

vehicle-dsm's People

Contributors

dluvizon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vehicle-dsm's Issues

About Camera Geometry

Can you please add the information about the camera geometry (eg: camera spesification, camera positioning, angle of view, angle of camera). I think it is important to know, related to the vehicle speed measurements. I hope you can explain it, thanks.

Error: While running inspect.sh

Hello Sir,
I have tried running the code. After running ./autogen.sh and make successfully I'm getting the following error " No such element or plugin 'vehicledsm' ".
I have checked for blacklisted files, there are zero blacklisted files.
blacklist
I have also checked size of libgstplugin.so it is about 2.0 MB.
Still it is throwing the following error.
size and error
Please help in solving the issue.
Thanks in advance.

Missing decoder: H.264

Hi, I'm working on vehicle speed measurement using single camera and I'm glad to follow your great work.

I got an issue when I run your code.
I put the command ./run-dsm.sh ../../dataset/set1/. And then, the error messages are:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream)

ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

I tried to figure out the reason but I couldn't...
My system is Ubuntu16.04

Any help will be appreciated.

question

can this work for real case?

with rtsp protocol using ip camera

fatal error: opencv2/objdetect/objdetect.hpp: No such file or directory

Hello,
I'm trying to run the code but I'm getting the following issue while running make command.
" fatal error: opencv2/objdetect/objdetect.hpp: No such file or directory"
Screenshot from 2019-03-26 15-36-47

I'm using GCC 5.5 version.
I have installed OpenCV and linked all the libraries also I have set the path correctly.
I tried to figure out the issue but I'm unable to figure it out.
Does Including absolute address instead of relative address will help or not?
Any help is greatly appreciated.

How did you obtain ipm_left and ipm_top for calculating hmatrix ?

Hi @dluvizon
I can see that perspective-transform.cpp has a method named generate_hmatrix, in that three variables pixels_per_m, ipm_top, ipm_left are used.
I want to know how you obtained values of these variables ? Did you manually first transformed the image of camera then obtain these values from that transformed image ??

vehicledsm not found

The .so file is created and during inspect the it throws out a error vehicledsm not found and its not a gstreamer plugin.

-rwxr-xr-x 1 root root 2649088 Nov 6 16:06 libgstplugin.so

sudo ./inspect.sh
No such element or plugin 'vehicledsm'

Could you please let me know of the version of the gstreamer
Thanks in advance

About files lanes.xml and matrix.txt

Hello!
Your works are very great!
For files lanes.xml and matrix.txt,I have two questions.

  1. matrix.txt is Homography matrix of 3 lines? Were they calculated according to the method in the paper(A Video-Based System for Vehicle Speed Measurement in Urban Roadways)? My Homography matrixes are diffrent.I feel very confused.Is the speed then calibrated by a factor of 0.9?
  2. In lanes.xml , To whom do the x,y coordinates belong? Which one is real world coordinates? In the paper(A Video-Based System for Vehicle Speed Measurement in Urban Roadways),you assume that the top-left corner of the rectangle(4.8m*2m) is the origin of the world coordinate system,but,I can not find it in the file lanes.xml.
    I hope you can answer my questions. It means a lot to me. thank you very much!

libgstplugin.so not loading on Ubuntu 18.04 using gst-v1.14.5

Hi,

I'm trying to get the project working on a Raspberry Pi 4 device, but so far out of luck. I'll try to explain the problem in detail, so perhaps someone from the community might have a clue as to what's going on.

I'm running Ubuntu 18.04 LTS ARM64 on RPi4, which is the earliest supported version of Ubuntu for the device.

I installed all the dependencies as explained. The gstreamer plugin got compiled as expected, but is not loading.

It's showing as blacklisted:
$ gst-inspect-1.0 --gst-plugin-path=../gstreamer/.libs/ -b
Blacklisted files:
libgstplugin.so

Total count: 1 blacklisted file

When I try to load directly the shared object:
$ gst-inspect-1.0 ../gstreamer/.libs/libgstplugin.so
Could not load plugin file: File "../gstreamer/.libs/libgstplugin.so" is not a GStreamer plugin

It's linked properly to its dependencies:
$ ldd ../gstreamer/.libs/libgstplugin.so
linux-vdso.so.1 (0x0000ffff96e02000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffff96ab5000)
libgstreamer-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x0000ffff96985000)
libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000ffff96928000)
libglib-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffff9681a000)
libjpeg.so.8 => /usr/lib/aarch64-linux-gnu/libjpeg.so.8 (0x0000ffff967d0000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffff967ac000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff96653000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff96dd6000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff9659a000)
libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000ffff96586000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff96571000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff96545000)
libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000ffff9652d000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000ffff964bb000)

The file size is about 2.6mB:
$ ls -la ../gstreamer/.libs/libgstplugin.so
-rwxrwxr-x 1 ubuntu ubuntu 2621200 Jan 26 18:57 ../gstreamer/.libs/libgstplugin.so

It's recognized properly as ELF 64-bit LSB shared object:
$ file ../gstreamer/.libs/libgstplugin.so
../gstreamer/.libs/libgstplugin.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=d32b6741f5da7c1f844513f32da1a1a653a97fdd, with debug_info, not stripped

GStreamer version is 1.14.5
$ gst-launch-1.0 --version
gst-launch-1.0 version 1.14.5
GStreamer 1.14.5
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0

To see if the CPU architecture is the problem, I installed the same Ubuntu version as a virtual machine on my desktop (x64), and the same problem is showing up.

However, when I installed Ubuntu 16.04 LTS as a virtual machine, it's loading fine. The GStreamer version that comes with it is 1.8.3:
$ gst-launch-1.0 --version
gst-launch-1.0 version 1.8.3
GStreamer 1.8.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0

Unfortunately Ubuntu 16.04 is not an option for RPi4, and I need to make it work with at least 18.04. So, I wonder why the difference in versions of GStreamer is causing the issue, given that it's only a minor version difference between them (1.8.3 vs 1.14.5) – and is meant to be backwards compatible.

Thanks

Help needed in running.

can you help me how to run this code from start to end please?
i need help i dont know where to start. I have very little knowledge about this.

Make error

screenshot from 2019-02-27 12-16-20
I am getting this error when running make. Any idea why? Thank you for your help and very nice work.

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.