Go to advanced search

by jayben
Sun Sep 15, 2019 8:37 am
Forum: Advanced users
Topic: Where can I hire a Raspberry Pi expert to solve random hang problems
Replies: 13
Views: 763

Re: Where can I hire a Raspberry Pi expert to solve random hang problems

Intermittent problems like this are a nightmare; as Jamesh suggests, you can try to isolate some of the hardware or software components, to see if the problem goes away, but if it only occurs every few days, that'll be a slow business. Personally I'd adopt a different approach: try and make the faul...
by jayben
Wed Sep 04, 2019 7:38 pm
Forum: Python
Topic: PyQt5 on Raspbian: Background color of QWidgets is not displayed
Replies: 7
Views: 302

Re: PyQt5 on Raspbian: Background color of QWidgets is not displayed

sudo apt install python3-pyqt5

That works for me on Buster, no compilation required.
by jayben
Mon Aug 26, 2019 7:24 pm
Forum: Python
Topic: Websocket send data problem
Replies: 4
Views: 170

Re: Websocket send data problem

It almost certainly is a matter of your code. If the data arrives when the socket is closed, then that is because the transmit & receive socket buffers are being flushed. So the question is: when you complete a block of data, how does the network driver know it must be sent - or are you assuming the...
by jayben
Fri Aug 23, 2019 4:53 pm
Forum: Python
Topic: Problems installing OpenCV 2.4.x
Replies: 2
Views: 198

Re: Problems installing OpenCV 2.4.x

My suggestion is.... ignore SimpleCV! It claims to make OpenCV development easier, but personally I found it to be a an unwanted extra layer of complexity, as you've discovered. In contrast, Python OpenCV is easy to install, especially on Raspbian Buster: sudo apt install python3-opencv Simple opera...
by jayben
Wed Aug 21, 2019 8:55 am
Forum: Beginners
Topic: Can i produce a depth map using two cameras connected to two different raspberry pi's?
Replies: 13
Views: 951

Re: Can i produce a depth map using two cameras connected to two different raspberry pi's?

You may find it easier (and possibly cheaper) to use 2 USB webcams on one RPi, rather than the complication of coordinating 2 separate systems. See this blog post for a simple Python program that uses 2 cameras at right-angles to track the position of an LED: https://iosoft.blog/position-measurement...
by jayben
Mon Aug 19, 2019 10:06 pm
Forum: Beginners
Topic: RPI Camera: Pattern (sun) recognition/image Processing
Replies: 5
Views: 396

Re: RPI Camera: Pattern (sun) recognition/image Processing

No problem finding the sun; just put a filter in front of the camera (e.g. heavily tinted acrylic) and it'll be the only thing visible. The position can then be determined with very good accuracy using a simple Python OpenCV program, see https://iosoft.blog/position-measurement-low-cost-cameras-opencv

Go to advanced search