Go to advanced search

by HermannSW
Wed Oct 23, 2019 3:01 pm
Forum: Camera board
Topic: i420toh264 tool using VPU
Replies: 3
Views: 162

Re: i420toh264 tool using VPU

Lovely mish mash of MMAL and OpenMax IL there then! Not my mish mash, I just modified existing "hellopi/hello_encode/encode.c" ... Under IL, format.video.nFrameWidth and format.video.nFrameHeight specify the active portion of the image, with format.video.nStride and format.video.nSliceHeight specif...
by HermannSW
Wed Oct 23, 2019 11:57 am
Forum: Camera board
Topic: Camera connected mirror image
Replies: 4
Views: 84

Re: Camera connected mirror image

Please show an image of your Pi, camera, cables, ...
by HermannSW
Tue Oct 22, 2019 9:49 pm
Forum: Camera board
Topic: Question on yuv I420 to grey conversion
Replies: 5
Views: 774

Re: Question on yuv I420 to grey conversion

TIL that for keeping YUV frame format, conversion to grey is done by setting U and V value to 128 for all frame pixels. While the "YUV to RGB" formula might be oversimplified as 6by9 stated, you can see that setting U=V=128 results in equal R, G and B values, which is grey: https://www.fourcc.org/fc...
by HermannSW
Tue Oct 22, 2019 7:24 pm
Forum: General discussion
Topic: pan tilt hat GPIOs
Replies: 3
Views: 91

Re: pan tilt hat GPIOs

I have a pan tilt hat like this one: https://thepihut.com/products/pan-tilt-hat Wow, £32.50 -- I use same pan tilt system for 1$/pc and two SG90 servos for 1.50$/pc from aliexpress (free shipping). Yes, hat is convenient, but ... https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=252176&p=1552...
by HermannSW
Tue Oct 22, 2019 9:48 am
Forum: Camera board
Topic: Camera shutter speed
Replies: 13
Views: 11779

Re: Camera shutter speed

Typically the shutter speed of raspivid/raspistill is determined by framerate (90fps video, 1000ms/90=11.11ms shutter speed per frame for 640x480). But you can even take v2 camera raspivid videos with "--shutter 50" (50µs shutter time)! All that is needed is very bright light: https://www.raspberryp...
by HermannSW
Tue Oct 22, 2019 9:36 am
Forum: Camera board
Topic: v1 mini camera
Replies: 0
Views: 62

v1 mini camera

With 8.32$ incl. shipping 3× the price of cheapest v1 camera module: https://www.aliexpress.com/item/4000103797677.html Yes, it is "only" a v1 camera and not v2 (I am not aware of a v2 camera in that form factor). And it only connects to Pi Zero[W]. But it might be the solution in case of low space ...
by HermannSW
Mon Oct 21, 2019 9:33 pm
Forum: Camera board
Topic: Check camera board on RPI4
Replies: 5
Views: 144

Re: Check camera board on RPI4

detected=0 means that camera is not detected. supported=0 most likely means that you did not enable the camera in your OS. Please run "sudo raspi-config" and go to "5. Interfacing Options". If Camera is really not enabled, then enable, go to finish and reboot. After that supported=1 should be report...
by HermannSW
Mon Oct 21, 2019 8:14 pm
Forum: Camera board
Topic: Check camera board on RPI4
Replies: 5
Views: 144

Re: Check camera board on RPI4

What is the output of "vcgencmd get_camera"?
by HermannSW
Mon Oct 21, 2019 7:46 am
Forum: Camera board
Topic: i420toh264 tool using VPU
Replies: 3
Views: 162

Re: i420toh264 tool using VPU

  1. Is it correct that hello_encode.c uses VPU for encoding i420 to .h264?
  2. Is it possible to tell output port to crop to really wanted framesize 1640x922 instead of aligned up 1964x928?
  3. If not, can this cropping be done by VPU differently?
by HermannSW
Sat Oct 19, 2019 8:36 pm
Forum: Camera board
Topic: higher frame rates from v2 camera?
Replies: 9
Views: 270

Re: higher frame rates from v2 camera?

For getting started with raspiraw Robert Elder did a good blog post and associated youtube videos: https://blog.robertelder.org/recording-660-fps-on-raspberry-pi-camera/ He did not use nor mention the tools in raspiraw/tools directory. In addition to the mostly v1 camera tools, you can find many v2 ...
by HermannSW
Sat Oct 19, 2019 2:09 pm
Forum: Camera board
Topic: i420toh264 tool using VPU
Replies: 3
Views: 162

i420toh264 tool using VPU

In thread "Question on yuv I420 to grey conversion" https://www.raspberrypi.org/forums/viewtopic.php?p=1479262 I learned that by taking just the Y plane of YUV frame is exactly as dealing with the frame as GRAY8 image. I plan to do motor control based on processing live camera video, eg: "Camera con...
by HermannSW
Sat Oct 19, 2019 11:17 am
Forum: Camera board
Topic: higher frame rates from v2 camera?
Replies: 9
Views: 270

Re: higher frame rates from v2 camera?

If so then report back and we can investigate amending the firmware accordingly. That offer of 6by9 is real, for a long time raspivid framerate was capped at 120fps for mode7 640x480. After I did show that up to 200fps were possible (with I2C command injection, just to overcome the GPU capping), 6b...
by HermannSW
Fri Oct 18, 2019 7:45 am
Forum: Camera board
Topic: On Hands and Knees Begging for a proper-Good Camera
Replies: 35
Views: 1039

Re: On Hands and Knees Begging for a proper-Good Camera

Are you able to stream 720p H.264 60fps? Likely. I did run list_format for UC-554 13MP rolling shutter IMX135 first, these are the available modes: mode: 0, width: 1280, height: 720, pixelformat: pRAA, desc: (null) mode: 1, width: 1920, height: 1080, pixelformat: pRAA, desc: (null) mode: 2, width: ...
by HermannSW
Fri Oct 18, 2019 6:23 am
Forum: General discussion
Topic: [Tutorial] How to plug two camera modules on a Raspberry Pi
Replies: 34
Views: 4399

Re: [Tutorial] How to plug two camera modules on a Raspberry Pi

As you started this thread there were no other options to record from two cameras besides using compute module. Now there is, you can capture from two cameras at one Pi. But I only have stereo hat samples, not for sale yet. When using v1 or v2 cameras (there are more camera options), Raspbian thinks...
by HermannSW
Fri Oct 18, 2019 6:09 am
Forum: Camera board
Topic: Is it possible to change video resolution while recording?
Replies: 3
Views: 127

Re: Is it possible to change video resolution while recording?

Thanks for the answer, do you have any advice to get something similar?. I'm trying to make a system that stream video in low resolution (for bandwidth reasons) and increase resolution when detect some events for analisys. Yes, use two PIs with a camera each, lenses near and same direction. Let eac...
by HermannSW
Thu Oct 17, 2019 8:37 pm
Forum: Automation, sensing and robotics
Topic: pigpio capabilities?
Replies: 9
Views: 515

Re: pigpio capabilities?

Just to be clear, are you saying the servo jitter mentioned in your earlier post was being caused by a ground problem? Yes. My colleague explained to me that the previously slightly longer (thin) cable connection from Pi GND to constant current GND than the servo GND connections is likely to make t...
by HermannSW
Thu Oct 17, 2019 6:06 pm
Forum: Automation, sensing and robotics
Topic: pigpio capabilities?
Replies: 9
Views: 515

Re: pigpio capabilities?

I discussed your proposal with a colleague. The servos themselves generate a lot of noise on the power supply rail, He agreed on that. additional decoupling capacitors across the power wires right beside the servos should fix the problem as long as your power supply is not drooping under load. He di...
by HermannSW
Thu Oct 17, 2019 4:29 pm
Forum: Camera board
Topic: Very magenta picture from NOiR camera when only light source is infrared
Replies: 11
Views: 313

Re: Very magenta picture from NOiR camera when only light source is infrared

6by9 wrote:
Thu Oct 17, 2019 12:48 pm
Sticky at the top of the forum - New AWB algorithm - NoIR camera support
I did point out exactly that two days ago, but my response got deleted ...
by HermannSW
Wed Oct 16, 2019 10:37 pm
Forum: Camera board
Topic: Camera controlled automatic PT approach for a landing capturing
Replies: 6
Views: 702

Re: Camera controlled automatic PT approach for a landing capturing

Initial build of PT camera system with 70mm done. First I missed matching gearwheel connector for ground plate. As workaround I did simply superglue the existing connector to desk. Two drops of superglue to Raspberry camera module connector. And some superglue on top plastic line of bracket, connect...
by HermannSW
Wed Oct 16, 2019 7:51 pm
Forum: Camera board
Topic: Recommended IR filters for Pi-NoIR
Replies: 20
Views: 19093

Re: Recommended IR filters for Pi-NoIR

I just got an Arducam Day-Night Vision for Raspberry Pi Camera, Automatic IR-Cut Switching All-Day Image All-Model Support, IR LED for Low Light and Night Vision, M12 Lens Interchangeable, OV5647 5MP 1080P from Amazon. It worked well out of the box and I have it running with MotionEyeOS. It does ev...
by HermannSW
Wed Oct 16, 2019 7:11 pm
Forum: Camera board
Topic: On Hands and Knees Begging for a proper-Good Camera
Replies: 35
Views: 1039

Re: On Hands and Knees Begging for a proper-Good Camera

Here is a Starvis demo video. (Imx290). https://youtu.be/6gwt7mFOxBs Wow, now I understand why you want WDR/low light support -- a picture says more than 1000 words, from 2:22min of that video: https://stamm-wilbrandt.de/en/forum/outdoor.imx290.png I cannot answer your questions directed to RPF, an...
by HermannSW
Wed Oct 16, 2019 1:24 pm
Forum: Camera board
Topic: On Hands and Knees Begging for a proper-Good Camera
Replies: 35
Views: 1039

Re: On Hands and Knees Begging for a proper-Good Camera

> Please read the page, you will see that it implements a userland driver. This does not allow access to the full Raspivid controls. > The Arducam driver is raspiraw based because any kernel driver would run into GPL problems: https://github.com/ArduCAM/MIPI_Camera > You can only use 1080p 30fps. Or...
by HermannSW
Tue Oct 15, 2019 4:21 pm
Forum: Automation, sensing and robotics
Topic: pigpio capabilities?
Replies: 9
Views: 515

Re: pigpio capabilities?

In a twitter discussion I provided connection diagram, which might make answering the questions easier:
https://twitter.com/HermannSW/status/11 ... 8222300160
GraphvizFiddle share link
Image
by HermannSW
Tue Oct 15, 2019 12:33 am
Forum: HATs and other add-ons
Topic: Raspberry pi zero display
Replies: 6
Views: 657

Re: Raspberry pi zero display

kflmiami420 wrote:
Mon Oct 14, 2019 12:09 am
Who is going to write the drivers for those displays that were offered in the links in other users responses ?
The display driver is SSD1322.
Search google for "SSD1322 arduino" or "SSD1322 raspberry" and you will get drivers you can use, or use as a start for your own.

Go to advanced search