Go to advanced search

by HermannSW
Fri May 15, 2020 4:58 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

Thanks! I really wanted to bring FoM window remote, and from what I learned that is not possible by enhancing picamera. Next I wanted to capture HDMI via dispmanx interface and bring that remote. I stopped, because that job is done very well by uv4l raspidisp. While uv4l raspicam works without issue...
by HermannSW
Fri May 15, 2020 1:47 pm
Forum: General discussion
Topic: Raspberry Pi High Quality Camera Launched !
Replies: 103
Views: 7231

Re: Raspberry Pi High Quality Camera Launched !

I did clone latest userland (without maximal shutter time is 20s for HQ camera) and build it with "cd userland;./buildme dummy" to avoid overwriting system raspivid/raspistill. Then: 🍓 time userland/build/bin/raspistill --mode 3 --exposure verylong --shutter 195000000 -t 1000 -o tst.jpg real 32m31.8...
by HermannSW
Fri May 15, 2020 7:36 am
Forum: Camera board
Topic: Converting from MJPEG to MP4, incompatible file
Replies: 7
Views: 581

Re: Converting from MJPEG to MP4, incompatible file

der.ule wrote:
Fri May 15, 2020 7:28 am
I have been unable to stream live H264 from the Pi to the browser,
These days I use uv4l for minimal latency, but thread "@131's <0.1s latency h264 websocket browser player" might be interesting to you:
viewtopic.php?p=1273404
by HermannSW
Thu May 14, 2020 9:40 pm
Forum: General discussion
Topic: Raspberry Pi High Quality Camera Launched !
Replies: 103
Views: 7231

Re: Raspberry Pi High Quality Camera Launched !

Excellent 200s! I took 195s photo of smartphone analog clock on weekend, was completely overexposed. Yesterday I placed ND4 neutral-density filter (0.0001× light) between HQ camera lens and smartphone, nice photo: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=273358&p=1660315#p1660315 htt...
by HermannSW
Thu May 14, 2020 9:27 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

FoM value is used to get lens into best focus, so I used FoM to turn my lens for maximal FoM value. Then I did record 1 minute video of the scene with smartphone camera. I was surprised to see shown FoM values vary greatly without lens/camera changes just by moving clock second hand. Minimal value i...
by HermannSW
Thu May 14, 2020 3:11 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

Why does NEGATIVE image effect works in browser, and FoM does not? An answer would be helpful. "mmal_crosshair.py" example shows how to do graphic overlay, so I could draw the rectangle myself: https://github.com/waveform80/picamera/blob/master/docs/examples/mmal_crosshair.py Is there a way to quer...
by HermannSW
Thu May 14, 2020 3:05 pm
Forum: Camera board
Topic: Is HQ Raw Data Noise Reduced at Base Gain?
Replies: 16
Views: 859

Re: Is HQ Raw Data Noise Reduced at Base Gain?

Some sensors have on-board DPC (Defective Pixel Correction), in fact that seems more likely than denoise per se . Maybe that's what's going on. The imx477 sensor has: https://www.sony-semicon.co.jp/products/common/pdf/IMX477-AACK_Flyer.pdf ◆Two PLLs for independent clock generation for pixel contro...
by HermannSW
Thu May 14, 2020 1:36 pm
Forum: Camera board
Topic: STICKY: libcamera - open source camera stack
Replies: 90
Views: 8001

Re: STICKY: libcamera - open source camera stack

2592x1944_s tool in tools directory of that branch is from me: https://github.com/massimiliano-mantione/raspiraw/blob/refactor-as-lib/tools/2592x1944_s It captures every other line and results in 2592x972 frame with full FoV, which when run through double tool gives you a full 2592x1944 frame at 30f...
by HermannSW
Thu May 14, 2020 7:39 am
Forum: Camera board
Topic: Do Raspberry 3B+ support discontinuous mipi data?
Replies: 8
Views: 1079

Re: Do Raspberry 3B+ support discontinuous mipi data?

We design the camera board by ourself. Do the arducam library support trigger mode? Yes, the library contains external trigger example: https://github.com/ArduCAM/MIPI_Camera/blob/master/RPI/ov9281_external_trigger.c Because of the name I first connected Arducam 1MP ov9281 monochrome global shutter...
by HermannSW
Thu May 14, 2020 1:21 am
Forum: Camera board
Topic: HQ 16mm C mount lens
Replies: 8
Views: 727

Re: HQ 16mm C mount lens

Thanks @jbeale and @nicolap8. but holding the filter in front of the lens can be effective it doesn't work for my application which would involve having the camera unattended. Why? I remembered the 195s long exposure of analog smartphone clock I did on the weekend. And I placed ND4 filter between HQ...
by HermannSW
Thu May 14, 2020 1:10 am
Forum: Camera board
Topic: Raspberry Pi High Quality Camera Long Exposures
Replies: 64
Views: 5977

Re: Raspberry Pi High Quality Camera Long Exposures

Wow, I had 58mm ND2 and ND4 neutral density filters, but have not done anything useful with them. ND4 means 0.0001 fractional transmittance, and reduces the amount of light entering the lens significantly: https://en.wikipedia.org/wiki/Neutral-density_filter Today I learned from jbeale and nicolap8 ...
by HermannSW
Wed May 13, 2020 9:13 pm
Forum: Camera board
Topic: Raspberry Pi High Quality Camera
Replies: 186
Views: 19931

Re: Raspberry Pi High Quality Camera

I tried to use the CS lens I have as "microscope". ... I have a CS holder I can unscrew from v1 camera with CS lens. More detailed photos can only be achieved with long lightproof lube between imx477 sensor and CS lens, like this M12 lens with tube and CS to M12 adapter from previous posting: Today...
by HermannSW
Wed May 13, 2020 4:53 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

I did a step further. First I added image effect to double preview python script as yesterday. This time NEGATIVE in order to see FoM window and number: camera.control.params[mmal.MMAL_PARAMETER_DRAW_BOX_FACES_AND_FOCUS] = 1 +mp = camera.control.params[mmal.MMAL_PARAMETER_IMAGE_EFFECT] +mp.value = m...
by HermannSW
Wed May 13, 2020 2:43 pm
Forum: Camera board
Topic: Raspberry Pi High Quality Camera
Replies: 186
Views: 19931

Re: Raspberry Pi High Quality Camera

But this will only activate the overlay for the preview window, this will not deliver the numbers drawn on it back to raspisitll/vid. Or did I got this wrong? Yes, Jamesh confirmed only preview window. I made FoM available to picamera yesterday (even on two preview windows on two HDMI displays): ht...
by HermannSW
Wed May 13, 2020 2:36 pm
Forum: Camera board
Topic: Do Raspberry 3B+ support discontinuous mipi data?
Replies: 8
Views: 1079

Re: Do Raspberry 3B+ support discontinuous mipi data?

I use the global shutter sensor ov2311 The raw sensor, or a module? I have ov2311 module from Arducam, https://www.uctronics.com/https-www-uctronics-com-index-php-arducam-ov2311-mipi-2mp-global-shutter-mono-camera-module-html.html and use it with arducam library that is raspiraw based: https://gith...
by HermannSW
Wed May 13, 2020 8:40 am
Forum: Python
Topic: Specifying display to run application on
Replies: 2
Views: 201

Re: Specifying display to run application on

You can find Pyton script "camera_preview_on_two_displays_with_FoM.py" in this thread: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=273804&p=1659688#p1659688 It duplicates camera frames with splitter, and then displays preview windows on HDMI0 and HDMI1. Since yesterday the script can dis...
by HermannSW
Wed May 13, 2020 8:28 am
Forum: Graphics programming
Topic: Comparing Before image to live video
Replies: 4
Views: 474

Re: Comparing Before image to live video

Not Python but C, my repro works on frames coming from raspistillyuv. They are color, but just processing the Y plane of YUV frame allows to process grey image easily without conversion. I would do that in your application. I described many application scenarios in the repo README.md, you need "simp...
by HermannSW
Wed May 13, 2020 7:29 am
Forum: HATs and other add-ons
Topic: Motor Shield For Raspberry Pi 4
Replies: 6
Views: 680

Re: Motor Shield For Raspberry Pi 4

just get an L298 module. I can second that, that module can drive 5v-35v with 2A(MAX single bridge). There are many tutorials on using L298N with Raspberry, this is just an example: https://www.electronicshub.org/raspberry-pi-l298n-interface-tutorial-control-dc-motor-l298n-raspberry-pi/ There are t...
by HermannSW
Wed May 13, 2020 7:13 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: LCD screen with DPI : Black screen
Replies: 19
Views: 1352

Re: LCD screen with DPI : Need command? the Screen is black

I only used notro's fbtft for SPI LCDs (9341 and 9481): https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=194423&start=50 But supported drivers section lists parallel displays as well: https://github.com/notro/fbtft/wiki/LCD-Modules I don't know how to connect parallel LCDs, but was always abl...
by HermannSW
Wed May 13, 2020 6:54 am
Forum: Camera board
Topic: HQ 16mm C mount lens
Replies: 8
Views: 727

Re: HQ 16mm C mount lens

I once read about neutral-density filters and bought ND2 (1/100) and ND4 (1/10,000) 58mm filters. Because of this wikipedia image I was under the impression (I am not a photographer) that it is not that important to have the filter exactly screwed above the lens. Is that correct? Is it important tha...
by HermannSW
Tue May 12, 2020 9:57 pm
Forum: Camera board
Topic: Raspberry Pi High Quality Camera
Replies: 186
Views: 19931

Re: Raspberry Pi High Quality Camera

or making a little motor driven focuser. I did build my own linear actuator with 1mm (only) operational range, but 3µm resolution based on single 28BYJ48 stepper motor (shaft): https://forum.arduino.cc/index.php?topic=645745.0 https://stamm-wilbrandt.de/en/forum/hpla.anim.gif I also received 40mm l...
by HermannSW
Tue May 12, 2020 8:46 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

Thank you for the guidance! Unbelievable to me that only 2 line additions are needed to make FoM work in preview window on both displays. Last line in picamera/mmalobj.py PARAM_TYPES allows to use FoM: mmal.MMAL_PARAMETER_DRAW_BOX_FACES_AND_FOCUS: mmal.MMAL_PARAMETER_BOOLEAN_T, And this line enables...
by HermannSW
Tue May 12, 2020 4:36 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

But you're also right that mmalobj.py needs to list the type for MMAL_PARAMETER_DRAW_BOX_FACES_AND_FOCUS. Thanks, I added this to picamera/mmalobj.py: mmal.MMAL_PARAMETER_ZOOM: mmal.MMAL_PARAMETER_SCALEFACTOR_T, + mmal.MMAL_PARAMETER_DRAW_BOX_FACES_AND_FOCUS: mmal.MMAL_PARAMETER_DRAW_BOX_FACES_AND_...
by HermannSW
Tue May 12, 2020 3:08 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

Is it possible to get FoM window with current picamera? It should be in principle, but not without changes to current picamera. Or do I need a picamera that "knows" about FoM? Yes, while MMAL_PARAMETER_DRAW_BOX_FACES_AND_FOCUS is known to mmalobj.py, it is not exposed in mmal.py: 🍓 grep MMAL_PARAME...
by HermannSW
Tue May 12, 2020 2:18 pm
Forum: Camera board
Topic: New raspistill "Figure of Merit (FoM)" feature
Replies: 25
Views: 2134

Re: New raspistill "Figure of Merit (FoM)" feature

No you can't. It was used for face detection and auto focus results display under Android, so neither of those are wanted on the capture. Understood. The reason I asked was to make FoM available for headless systems. I learned from dan_s how easy picamera streaming webserver is, https://www.raspber...

Go to advanced search