sc2ad / cv-rocket-project Goto Github PK
View Code? Open in Web Editor NEWComputer Vision code (in Python OpenCV2.4.9.1) for Berkeley Rocket Project
Computer Vision code (in Python OpenCV2.4.9.1) for Berkeley Rocket Project
Fix some issues:
Various Capture Differences:
Capture Continuous has 10.50, 10.55, 10.56 FPS with an internal (Filtering) FPS of 1252.49, 1311.58, 1366.73. Need to find a way to get around this, this is essentially the baseline for capture continuous (NO FILTERING).
Has 7.91, 8.24, 7.81 FPS with an internal (Filtering) FPS of 29.54, 31.06, 29.56.
Capture Standard has 2.40, 3.01, 2.68 FPS with an internal (Filtering) FPS of 1036.71, 1058.91, 1101.43. Baseline for capture standard (NO FILTERING).
Has 2.89, 2.86, 2.91 FPS with an internal (Filtering) FPS of 24.81, 24.56, 25.09.
Capture Sequence has 12.32, 12.11, 12.68 FPS with an internal (Capturing) FPS of 12.34, 12.23, 12.71. Baseline for capture sequence (NO FILTERING).
Has 8.83, 8.81, 8.87 FPS with an internal (Capturing) FPS of 8.88, 8.85, 8.91.
Actually important calls cProfile output sample:
This is terminated in the middle of the 1176th frame, for reference.
It took ~20.34 seconds for 500 frames to process, approximately 24.58 FPS
ncalls tottime percall cumtime percall filename:lineno(function)
1176 28.446 0.024 28.446 0.024 {cv2.inrange}
1175 12.775 0.011 12.775 0.011 {cv2.findContours}
1175 2.407 0.002 4.821 0.004 Filter.py:134(run)
125225 2.388 0.000 2.388 0.000 {cv2.contourArea}
1 1.685 1.685 52.695 52.695 picamTest.py:1()
3565 1.324 0.000 1.324 0.000 {numpy.core.multiarray.array}
2 0.390 0.195 0.399 0.199 camera.py:722(enable camera)
13 0.361 0.028 0.361 0.028 {time.sleep}
1 0.353 0.353 0.353 0.353 camera.py:509(init camera)
1176 0.256 0.000 42.870 0.036 Filter.py:64(rgbGet)
Italicized: is things that are extremely hard to speed up
Bolded: is things that are relatively easy to speed up
Normal: is things that are impossible to speed up (Unknown to me, at least)
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.