Go to advanced search

by 6by9
Fri Jan 19, 2018 10:04 am
Forum: Camera board
Topic: Using RaspberryPi 3 with Pi-Camera and OpenCV to do PeopleCounting From the Top
Replies: 6
Views: 166

Re: Using RaspberryPi 3 with Pi-Camera and OpenCV to do PeopleCounting From the Top

Hey @6by9 i tried that before yes it works. However, its very laggy 4 seconds to update what i am actually seeing thus i want to use the picamera library in hope it would be less laggy? Have you profiled where the time is being spent? In your code (grabbed, frame) = camera.read() is actually grabbi...
by 6by9
Thu Jan 18, 2018 9:49 pm
Forum: Camera board
Topic: Connecting two cameras and switching between them
Replies: 3
Views: 88

Re: Connecting two cameras and switching between them

The version you linked to will only support the V1. The other one should support either (V2 requires the I2C to be multiplexed correctly as well as the CSI2 bus). The CSI2 bus is 3 differential pairs running at several 100MHz each, that is why you need to use the appropriate ICs to multiplex it rath...
by 6by9
Thu Jan 18, 2018 9:06 pm
Forum: Camera board
Topic: Connecting two cameras and switching between them
Replies: 3
Views: 88

Re: Connecting two cameras and switching between them

http://www.ivmech.com/magaza/en/develop ... exer-p-109

It is not an officially supported product, but should do the job.
No, the system doesn't differentiate between normal and NoIR cameras.
by 6by9
Thu Jan 18, 2018 5:31 pm
Forum: Camera board
Topic: Camera V2 NoIR Shutter Speed
Replies: 10
Views: 535

Re: Camera V2 NoIR Shutter Speed

Jessie is no longer supported - it will not be getting updates. Ideally upgrade to Stretch. If you really can't upgrade and there is nothing critical on your SD card, then you can use "sudo rpi-update" to update to the development firmware and kernel. Be aware that sometimes regressions creep in and...
by 6by9
Thu Jan 18, 2018 3:43 pm
Forum: Camera board
Topic: Using RaspberryPi 3 with Pi-Camera and OpenCV to do PeopleCounting From the Top
Replies: 6
Views: 166

Re: Using RaspberryPi 3 with Pi-Camera and OpenCV to do PeopleCounting From the Top

Code: Select all

sudo modprobe bcm2835-v4l2
will load a V4L2 driver for the Pi camera module, and then everything that works for your webcam should work on the Pi camera.
by 6by9
Thu Jan 18, 2018 3:25 pm
Forum: Camera board
Topic: Camera V2 NoIR Shutter Speed
Replies: 10
Views: 535

Re: Camera V2 NoIR Shutter Speed

pi@raspberrypi:~ $ vcgencmd version Oct 24 2017 17:12:00 Copyright (c) 2012 Broadcom version a3d7660e6749e75e2c4ce4d377846abd3b3be283 (clean) (release) pi@raspberrypi:~ $ raspistill -t 2000 -q 100 -ISO 100 -awb off -awbg 1.4,1.2 -ss 1000000 -ex off -n -w 1024 -h 768 -o test1.jpg pi@raspberrypi:~ $ ...
by 6by9
Thu Jan 18, 2018 1:20 pm
Forum: General discussion
Topic: Want to stream the video from raspberry pi camera to another ARM board.
Replies: 3
Views: 87

Re: Want to stream the video from raspberry pi camera to another ARM board.

You almost certainly need to add -ih into the raspivid options so that it repeats the H264 headers before every I frame.
by 6by9
Thu Jan 18, 2018 1:13 pm
Forum: General discussion
Topic: HELP!Can I use Raspberry Pi's HDMI port to transfer data?
Replies: 12
Views: 274

Re: HELP!Can I use Raspberry Pi's HDMI port to transfer data?

Radu79 wrote:
Thu Jan 18, 2018 10:46 am
it can be done, HDMI ports have an I2C line. Someone has done it on the Pi too: viewtopic.php?t=44445&p=452512
BTW I'd ignore most of that post - it's out of date as all that configuration is now handled by device tree, hence the dtparam lines.
by 6by9
Thu Jan 18, 2018 11:07 am
Forum: General discussion
Topic: HELP!Can I use Raspberry Pi's HDMI port to transfer data?
Replies: 12
Views: 274

Re: HELP!Can I use Raspberry Pi's HDMI port to transfer data?

If just wanting the I2C interface, then adding "dtparam=i2c2_iknowwhatimdoing=on" to /boot/config.txt should do it for you, but as noted in the commit that added this The third I2C bus (I2C2) is normally reserved for HDMI use. Careless use of this bus can break an attached display - use with caution...
by 6by9
Thu Jan 18, 2018 10:33 am
Forum: Graphics, sound and multimedia
Topic: openMax h264 non reference P frame
Replies: 28
Views: 623

Re: openMax h264 non reference P frame

Having read the H264 spec, section 7.4.2 does include: pic_order_cnt_type shall not be equal to 2 in a coded video sequence that contains any of the following: – an access unit containing a non-reference frame followed immediately by an access unit containing a non-reference picture, – two access un...
by 6by9
Thu Jan 18, 2018 9:47 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 354
Views: 67183

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

If you're using raspivid then it is routing the audio over the csi bus, not i2s. There was a way of extracting that, bit I don't recall it. Basically don't use raspivid for tc358743.
The kernel driver is set up for i2s output. It also exports a v4l2 control indicating whether audio is present or not.
by 6by9
Thu Jan 18, 2018 6:53 am
Forum: Graphics, sound and multimedia
Topic: openMax h264 non reference P frame
Replies: 28
Views: 623

Re: openMax h264 non reference P frame

Thanks for debugging - I suspected it was something in the headers but had limited idea where.
It's not fixed in the hardware, but I'd need to have a look into where it is set up and what options are valid.
by 6by9
Wed Jan 17, 2018 11:24 am
Forum: Graphics, sound and multimedia
Topic: openMax h264 non reference P frame
Replies: 28
Views: 623

Re: openMax h264 non reference P frame

This is getting beyond the time I have available now. Feeding it into JM 19.0 ldecod.exe I get Setting Default Parameters... Parsing Configfile decoder.cfg ............... ----------------------------- JM 19.0 (FRExt) ----------------------------- ----------------------------------------------------...
by 6by9
Wed Jan 17, 2018 11:12 am
Forum: Graphics, sound and multimedia
Topic: openMax h264 non reference P frame
Replies: 28
Views: 623

Re: openMax h264 non reference P frame

(1) Should I use OMX_SetParameter or OMX_SetConfig? The newly added index name is "OMX_IndexConfigBrcmDroppableRunLength", So I should use OMX_SetConfig? They are actually synonymous on the Pi. The component itself checks what state it is in when it gets the call to judge whether it is valid or not...
by 6by9
Wed Jan 17, 2018 10:46 am
Forum: Advanced users
Topic: GStreamer and omx encoding from live source.. a naive problem
Replies: 32
Views: 1028

Re: GStreamer and omx encoding from live source.. a naive problem

Please don't PM pings - I'm not here just to support your project. 30 seconds looking at the upstream bugtracker before would have identified the original issue - it's number 2 on their list when sorted in chronological order. https://bugzilla.gnome.org/show_bug.cgi?id=736829 - last changed 2015-03-...
by 6by9
Wed Jan 17, 2018 9:45 am
Forum: Camera board
Topic: Video image displayed dark
Replies: 5
Views: 116

Re: Video image displayed dark

I'm not 100% clear what you're saying, but I'll answer what I think you're asking. raspivid will configure the sensor and start it streaming via I2C. Auto exposure control relies on analysing the incoming video frames. If you've intercepted the CSI2 data and effectively stripping out the CRCs, then ...
by 6by9
Tue Jan 16, 2018 6:12 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 374
Views: 64987

Re: Raw sensor access / CSI-2 receiver peripheral

@6by9: I did capture the missing modes 1-7 for v2 camera raspiraw usage. In attached .zip you can find the captured I2C sequences from Salea logic analyzer (.csv), the .h files generated from tools in previous mode7.b.zip attachment and finally new file imx219_modes.h with existing mode0 and new mo...
by 6by9
Tue Jan 16, 2018 5:47 pm
Forum: Camera board
Topic: mmal error ENOSPC
Replies: 11
Views: 464

Re: mmal error ENOSPC

THANK you, finally an answer on my problem, i've been looking for . This saves me a lot of headaces. Thank you 6by9 ! It's the same answer already given earlier in the thread - https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=198665#p1240002 a) You already have something running that is usin...
by 6by9
Tue Jan 16, 2018 3:24 pm
Forum: Camera board
Topic: mmal error ENOSPC
Replies: 11
Views: 464

Re: mmal error ENOSPC

The camera supports ONE client at a time. You have raspimjpeg running, so that is your one client. If you want to run raspistill, then you MUST stop raspimjpeg first. However raspimjpeg supports setting the camera flips via the config file (default of /etc/raspimjpeg). Add "hflip=true" and "vflip=tr...
by 6by9
Tue Jan 16, 2018 3:00 pm
Forum: Camera board
Topic: Video image displayed dark
Replies: 5
Views: 116

Re: Video image displayed dark

Please keep your project discussion to one thread - you've now started 3 different ones.
by 6by9
Mon Jan 15, 2018 9:35 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 354
Views: 67183

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

I then connected my canon 5d mark 3 which is the goal of this project and got a black screen :? :o :shock: and that error came after a few sec raspivid -t 0 mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't be enabled mmal: main: Failed to create cam...
by 6by9
Sun Jan 14, 2018 10:02 am
Forum: Camera board
Topic: raspberry pi camera v1.3 - video display
Replies: 2
Views: 112

Re: raspberry pi camera v1.3 - video display

Compression - no. A shed load of other processing - yes. The camera module itself produces 10 bit bayer data, so it goes through processing for black level, white balance, demosaicing, demonising, colour space conversion, and normally resizing, in order to produce 8 bit yuv 4:2:0 or 4:2:2 images on ...
by 6by9
Sun Jan 14, 2018 7:38 am
Forum: Advanced users
Topic: Should I add a 50ns noise/glitch filter to the I2C interface?
Replies: 7
Views: 220

Re: Should I add a 50ns noise/glitch filter to the I2C interface?

I2C isn't a differential signal, so using twisted pairs won't help for noise rejection.
It's also designed for inter ic comms within a pcb, so 1m is a long way for it. It does frequently work, but will potentially require a lower clock frequency.
by 6by9
Fri Jan 12, 2018 3:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Color incorrect problems with rpi zero with DPI display
Replies: 1
Views: 75

Re: Color incorrect problems with rpi zero with DPI display

Based on your colour bars gif thumbnail, normally they are: grey, yellow, cyan, green, magenta, red, blue. whereas you've got blue then red at the right hand end. For a first test, try setting dpi_output_format to 57383 which is changing the rgb order from DPI_RGB_ORDER_RGB to DPI_RGB_ORDER_BGR (see...
by 6by9
Fri Jan 12, 2018 11:34 am
Forum: Camera board
Topic: V1.3 (OV5647) camera update - 1296x730 @ 57fps
Replies: 3
Views: 175

Re: V1.3 (OV5647) camera update - 1296x730 @ 57fps

I've updated raspiraw's repo with the change too.

Go to advanced search