Comments (5)
Replacing the SURF part.
When the program has not well finished, the v4l2 damaged, Causing not run the program later with my corrects. After reboot a couple of times finally i correct.
I had a little mistakes with threading, so I went out error v4l2. I could not find the error, because, when the program has not well finished, v4l2 could damage, Causing not run the program later with the correct code. After I reboot a couple of times, finally i correct the error.
The program runs very slow using the raspberry pi 1 model b, it has 3-4 second delay. And Without threading, only approximately 1 second delay.
from pi.
So your program errored out and did not close the camera input? Yes, I think I have seen such problems during development. You can try to avoid leaving the camera locked by using a python 'finally:' clause which ensures the camera is released.
Are you saying your own program is running very slowly or the standard one published here?
It has been a while since I made the multi-threaded performance measurements, which were published here:
https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=91269&p=789493&hilit=piter#p789493
but that was back in February. My original measurements did show that a single core Model B ran the multi-threaded version slightly slower. However, the slowdown was only 5-10% as I recall, not 3-4 times slower back then.
It is possible that later releases of Raspbian or OpenCV has made it run slower. I will try to make some time to repeat the measurements with the latest updates in place, but I can't promise when I will be able to get to it, sorry.
from pi.
Having set up all the hardware, I'm not reproducing your reported faults.
i'am using raspberry pi model B, with raspbian 7.8, Python 2.7.3, bcm2835-v4l2
Given my inability to reproduce, to help any further, I need:
- Output of uname -a
- Correct version of OpenCV (2.4.1 is old and unsupported?, 2.4.10, 2.4.11?)
- Output of v4l2-ctl --info
from pi.
I have v4l2 version 4.0.8, and i already install opencv2.4.10 but in virtual enviroment, and i'm taking problems with that. Exist other form to install opencv 2.4.10 on raspbian?. Or another new version
I fallow this guy: http://www.pyimagesearch.com/2015/02/23/install-opencv-and-python-on-your-raspberry-pi-2-and-b/#comment-338616
from pi.
Sorry, I don't know of any other way.
I'm going to take a look at upgrading the code to use OpenCV 3. However it may take me some time since I have a new day job that involves a lot of travelling.
from pi.
Related Issues (20)
- Please add the PCB board traces for testing and debugging the soldering job. HOT 4
- Make loader, library and demo code work with Raspberry Pi 2 HOT 12
- new core request - frequency divider / variable audio wordclock HOT 5
- New core request - PWM input HOT 16
- Test gz_lcd with new device tree frame buffer driver HOT 1
- gz_load fails after first load of gz_test HOT 7
- gz_load fails after first load of gz_test HOT 10
- SURF unavailable in OpenCV 2.4.1 HOT 1
- Request - SBUS input HOT 5
- Order status HOT 2
- Guzunty no longer available on Amazon or EBay HOT 3
- Quadrature encoder HOT 1
- How can I order a Guzunty and an LCD adapter board without paying postage twice? HOT 1
- Ordered from US 8/30, status? HOT 3
- RPi 3 GPCLK0 Anomaly? HOT 5
- Guzunty @ Pi Zero HOT 3
- Create a new Guzunty based on a surface mount device HOT 5
- Opencv error: Assertion failed (scn +1 == m.cols) dst=cv2.perspectiveTransform(pts,M)
- comparator operator needs to be updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi.