dsgou / annotator Goto Github PK
View Code? Open in Web Editor NEWVideo and audio annotator
Video and audio annotator
Now that the csvs can be read, the tool cannot open .bag files, due to an .avi conversion error. Changing some lines in the rosbagRGB.py file, the tool manages to write the .avi file, but cannot read it!!
Line 118 and forward, were changed to:
height, width, bytesPerComponent, tmp = np.array(image_buffer[0]).shape
video_writer = cv2.VideoWriter(rgbFileName, fourcc, framerate, (width,height), cv2.IMREAD_COLOR)
if video_writer.isOpened():
result = True
i= 0
image_buffer = np.delete(np.array(image_buffer[0]),-1,1)
Please take a look at the new .avi reading method, since the problem should be creeping around there!
With lots of love,
George
Whenever I open a rosbag and then try to open the corresponding .csv file (that was created with the tool and not manually) the program throws an exception. Looking into the code, the problem should be in the video/rosbagRGB.py file, in the buffer_video_csv function.
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.