Giter Site home page Giter Site logo

caltech-pedestrian-dataset-converter's People

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  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  avatar  avatar

caltech-pedestrian-dataset-converter's Issues

openCV version and cv2.VideoWriter_fourcc()

There's a minor difference in openCV version 2.x and 3.x, it might be nice to use something like this:

if opencv_version() == 2:
	fourcc = cv2.cv.FOURCC(*output_format)
elif opencv_version() == 3:
	fourcc = cv2.VideoWriter_fourcc(*output_format)
else:
	raise

Documentation on the converted files

Hi! It is easy to run the scripts and get the files, but how can we use the converted files, especially the annotations, eg, if we read the annotations.json, then under each sequence, there is filed of [u'altered', u'log', u'nFrame', u'logLen', u'frames', u'maxObj'], what does those means? how to use the converted annotations? could you pls give a doc or ref a doc for those? I have checked official caltech website, but still found nothing related, thanks!

output images format (PNG vs. JPG)

Nice utilities, saved me maybe a day or two writing similar stuff.

One minor problem, though, the caltech 2014 dataset is basically .jpg files packed in a sequence. Unpacking them as .png consumes probably several times more of disk space, compared to .jpg

You may want to change this in your scripts.

''python scripts/convert_seqs.py'' not working for me

michel@michel-Lenovo-IdeaPad-Y510P:~/Desktop/caltech-pedestrian-dataset-converter-master$ python scripts/convert_seqs.py
GStreamer Plugin: Embedded video playback halted; module typefind reported: Could not determine type of stream.
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in cvCaptureFromCAM_GStreamer, file /home/michel/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp, line 816
Traceback (most recent call last):
File "scripts/convert_seqs.py", line 19, in
cap = cv.VideoCapture(fn)
cv2.error: /home/michel/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp:816: error: (-2) GStreamer: unable to start pipeline
in function cvCaptureFromCAM_GStreamer

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.