id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
picamera_basic_advanced_recipes/imshowpythonmacosnot_73_0.txt
[ __ Wiki ](https://github.com/opencv/opencv/wiki)
picamera_basic_advanced_recipes/18461_115_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_181_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_166_0.txt
---
picamera_basic_advanced_recipes/18461_312_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/picamera_advanced_recipes_17_1.txt
s of warnings, you’ve forgotten the ` -q ` switch; you can ignore the warnings. If anything else is output, it will most likely be an error message indicating you have made a mistake in the device tree source. In this case, review your edits carefully (note that sections and properties _must_ be semi-colon terminated ...
picamera_basic_advanced_recipes/imshowpythonmacosnot_29_0.txt
Platform: Timestamp: 2019-01-05T01:41:15Z Host: Darwin 18.2.0 x86_64 CMake: 3.13.2 CMake generator: Unix Makefiles CMake build tool: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/gmake Configuration: Release
picamera_basic_advanced_recipes/243406_6_0.txt
[ yingliu ](https://forums.developer.nvidia.com/u/yingliu) February 20, 2023, 3:30am 4
picamera_basic_advanced_recipes/imshowpythonmacosnot_5_0.txt
[ __ ](/questions/) |
picamera_basic_advanced_recipes/18461_62_0.txt
Copy link
picamera_basic_advanced_recipes/imshowpythonmacosnot_8_0.txt
imshow() Python/macOS not showing the image
picamera_basic_advanced_recipes/18461_66_0.txt
* OpenCV => 3.4 * Operating System / Platform => aarch64 (debian based OS) * Compiler => g++ 8.3.0
picamera_basic_advanced_recipes/18461_51_0.txt
Jump to bottom
picamera_basic_advanced_recipes/18461_158_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_116_0.txt
[ ![@alalek](https://avatars.githubusercontent.com/u/4981219?s=80&v=4) ](/alalek)
picamera_basic_advanced_recipes/18461_139_0.txt
* 👍 34 reactions * 👎 5 reactions
picamera_basic_advanced_recipes/18461_168_0.txt
All reactions
picamera_basic_advanced_recipes/18461_120_0.txt
**[ alalek ](/alalek) ** commented Nov 1, 2020
picamera_basic_advanced_recipes/18461_296_0.txt
###
picamera_basic_advanced_recipes/18461_359_0.txt
###
picamera_basic_advanced_recipes/18461_156_0.txt
All reactions
picamera_basic_advanced_recipes/imshowpythonmacosnot_48_0.txt
got the cv2.getBuildInformation()) ... but it's a lot ... is there a better way than pasting the whole lot in a comment here? (sorry - forum newb)
picamera_basic_advanced_recipes/imshowpythonmacosnot_66_0.txt
Update: So it turned out that it was indeed an installation problem. I managed to uninstall Python 3.6, and then with ` brew link python ` link to the 3.7 installation that somehow co-existed with 3.6 before. Thanks very much again to [ @LBerger ](/users/8129/lberger/) for spotting the root cause of my issue!
picamera_basic_advanced_recipes/18461_141_0.txt
[ ![@zjdx1998](https://avatars.githubusercontent.com/u/35225920?s=80&u=5a19441fcbc49450c3f73379c6f7e2476d1afd98&v=4) ](/zjdx1998)
picamera_basic_advanced_recipes/picamera_advanced_recipes_13_1.txt
oat)) + np.square(m[frame]['y'].astype(np.float)) ).clip(0, 255).astype(np.uint8) img = Image.fromarray(data) filename = 'frame%03d.png' % frame print('Writing %s' % filename) img.save(filename) You may wish to investigate the [ ` PiMotionArray ` ](api_arra...
picamera_basic_advanced_recipes/18461_302_0.txt
[ ![@cabreraam](https://avatars.githubusercontent.com/u/11001524?s=40&v=4) ](/cabreraam) [ cabreraam ](/cabreraam) mentioned this issue Dec 7, 2022
picamera_basic_advanced_recipes/picamera_advanced_recipes_12_0.txt
## 4.12. Recording at multiple resolutions ¶ The camera is capable of recording multiple streams at different resolutions simultaneously by use of the video splitter. This is probably most useful for performing analysis on a low-resolution stream, while simultaneously recording a high resolution stream for storage o...
picamera_basic_advanced_recipes/243406_34_0.txt
problem was solved, thanks
picamera_basic_advanced_recipes/18461_98_0.txt
All reactions
picamera_basic_advanced_recipes/18461_28_0.txt
We read every piece of feedback, and take your input very seriously.
picamera_basic_advanced_recipes/18461_208_0.txt
[ http://wiki.ros.org/docker/Tutorials/GUI ](http://wiki.ros.org/docker/Tutorials/GUI)
picamera_basic_advanced_recipes/18461_74_0.txt
$ sudo apt search libgtk2.0-dev Sorting... Done Full Text Search... Done libgtk2.0-dev/eagle,now 2.24.32-3 arm64 [installed] development files for the GTK+ library
picamera_basic_advanced_recipes/18461_16_0.txt
* Open Source
picamera_basic_advanced_recipes/18461_75_0.txt
##### Steps to reproduce
picamera_basic_advanced_recipes/18461_374_0.txt
No milestone
picamera_basic_advanced_recipes/sshx11forwardingprob_6_0.txt
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
picamera_basic_advanced_recipes/243406_1_0.txt
# [ Can not use imshow() of opencv in vpi program ](/t/can-not-use-imshow-of- opencv-in-vpi-program/243406)
picamera_basic_advanced_recipes/18461_174_0.txt
**[ hcgfighting ](/hcgfighting) ** commented Apr 8, 2021
picamera_basic_advanced_recipes/18461_221_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_114_0.txt
All reactions
picamera_basic_advanced_recipes/243406_8_0.txt
[ Houber ](https://forums.developer.nvidia.com/u/Houber) February 20, 2023, 3:56am 6
picamera_basic_advanced_recipes/18461_99_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_5_0.txt
* Product
picamera_basic_advanced_recipes/picamera_advanced_recipes_13_0.txt
## 4.13. Recording motion vector data ¶ The Pi’s camera is capable of outputting the motion vector estimates that the camera’s H.264 encoder calculates while generating compressed video. These can be directed to a separate output file (or file-like object) with the _motion_output_ parameter of the [ ` start_recordin...
picamera_basic_advanced_recipes/imshowpythonmacosnot_49_0.txt
^^ I _think_ that issue is different as they only see the window title bar, and it seemed to have been related to problems getting window dimensions. I do get a window with the correct dimensions, just empty
picamera_basic_advanced_recipes/18461_153_0.txt
To help others, I found that my .bashrc needed to contain the following: ` export DISPLAY=:0.0 ` previously, it said ` export DISPLAY=localhost:0.0 `
picamera_basic_advanced_recipes/18461_55_0.txt
Closed
picamera_basic_advanced_recipes/18461_260_0.txt
edited
picamera_basic_advanced_recipes/18461_250_0.txt
For me the ` export DISPLAY=localhost:0.0 ` also wasn't there in the .bashrc file before. Still adding ` export DISPLAY=:0.0 ` to the end of the .bashrc file of the user calling the software, in my case ` pi ` , worked fine.
picamera_basic_advanced_recipes/18461_209_0.txt
---
picamera_basic_advanced_recipes/18461_145_0.txt
Anything update? I encounter this error when I try the cpp-examples in the WSL ubuntu. Hope you could fix it soon.
picamera_basic_advanced_recipes/sshx11forwardingprob_10_0.txt
Reply Search this Thread Old 12-12-2019, 11:28 PM #1 sarslan LQ Newbie
picamera_basic_advanced_recipes/18461_321_0.txt
All reactions
picamera_basic_advanced_recipes/18461_103_0.txt
**[ BoShaoLi ](/BoShaoLi) ** commented Oct 29, 2020
picamera_basic_advanced_recipes/sshx11forwardingprob_17_0.txt
I checked that X11Forwarding is YES in /etc/ssh/sshdconfig in embedded board. Also when I execute echo $DISPLAY in terminal after connecting embedded device, localhost:11.0 is returned. I also tried to connect to embbedded board from host machine with ssh -Y. But it is not working too.
picamera_basic_advanced_recipes/18461_49_0.txt
By clicking “Sign up for GitHub”, you agree to our [ terms of service ](https://docs.github.com/terms) and [ privacy statement ](https://docs.github.com/privacy) . We’ll occasionally send you account related emails.
picamera_basic_advanced_recipes/18461_201_0.txt
All reactions
picamera_basic_advanced_recipes/picamera_advanced_recipes_16_1.txt
ists of 2480 rows of 4128 bytes of data. # There's actually 2464 rows of data, but the sensor's raw size is 2466 # rows, rounded up to the nearest multiple of 16: 2480. # # Likewise, the last few bytes of each row are unused (why?). Here we # reshape the data and strip off the unused bytes. ...
picamera_basic_advanced_recipes/18461_23_0.txt
# Search code, repositories, users, issues, pull requests...
picamera_basic_advanced_recipes/18461_334_0.txt
**[ sunbeam-217 ](/sunbeam-217) ** commented May 16, 2023
picamera_basic_advanced_recipes/18461_2_0.txt
Toggle navigation
picamera_basic_advanced_recipes/18461_358_0.txt
Copy link
picamera_basic_advanced_recipes/18461_339_0.txt
* 👍 1 reaction
picamera_basic_advanced_recipes/picamera_advanced_recipes_5_0.txt
## 4.5. Custom outputs ¶ All methods in the picamera library which accept a filename also accept file- like objects. Typically, this is only used with actual file objects, or with memory streams (like [ ` io.BytesIO ` ](https://docs.python.org/3.4/library/io.html#io.BytesIO "\(in Python v3.4\)") ). However, buildin...
picamera_basic_advanced_recipes/18461_259_0.txt
**[ AyaNasser96 ](/AyaNasser96) ** commented Jan 31, 2022 •
picamera_basic_advanced_recipes/18461_316_0.txt
**[ kartikpodugu ](/kartikpodugu) ** commented Apr 11, 2023 •
picamera_basic_advanced_recipes/18461_242_0.txt
---
picamera_basic_advanced_recipes/18461_218_0.txt
hey guys. I am getting this error on navio2. does anyone know the solution?
picamera_basic_advanced_recipes/18461_382_0.txt
* [ Terms ](https://docs.github.com/site-policy/github-terms/github-terms-of-service) * [ Privacy ](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement) * [ Security ](https://github.com/security) * [ Status ](https://www.githubstatus.com/) * [ Docs ](https://docs.github.com/) * [ Contact ](ht...
picamera_basic_advanced_recipes/imshowpythonmacosnot_97_0.txt
Please note: OpenCV answers requires javascript to work properly, please enable javascript in your browser, [ here is how ](https://www.google.com/support/bin/answer.py?answer=23852)
picamera_basic_advanced_recipes/imshowpythonmacosnot_47_0.txt
[ ![LBerger gravatar image](/upfiles/avatars/LBerger/resized/16/Sans%20titre.png) ](/users/8129/lberger/) [ LBerger ](/users/8129/lberger/) ( 2019-01-24 07:00:55 -0600 ) edit
picamera_basic_advanced_recipes/imshowpythonmacosnot_78_0.txt
[ subscribe to rss feed ](/feeds/question/207755/ "subscribe to the rss feed")
picamera_basic_advanced_recipes/18461_187_0.txt
I tried this on Ubuntu 20.04 but still no luck
picamera_basic_advanced_recipes/18461_4_0.txt
[ Sign in ](/login?return_to=https%3A%2F%2Fgithub.com%2Fopencv%2Fopencv%2Fissues%2F18461)
picamera_basic_advanced_recipes/18461_164_0.txt
> I managed to solve it by making sure when I ssh into aarch64 that I use ssh > -Y user@host. This gives authorization to allow cv2.imshow() to display the > window. > [ gtk_init_check error solved > ](https://unix.stackexchange.com/questions/94497/org-eclipse-swt-swterror- > no-more-handles-gtk-init-check-failed-whil...
picamera_basic_advanced_recipes/18461_240_0.txt
> ashrc
picamera_basic_advanced_recipes/18461_277_0.txt
[ ![@scipioni](https://avatars.githubusercontent.com/u/3766283?s=80&u=382c89971a33134847f5603dd547af9427224454&v=4) ](/scipioni)
picamera_basic_advanced_recipes/18461_35_0.txt
To see all available qualifiers, see our [ documentation ](https://docs.github.com/search-github/github-code-search/understanding- github-code-search-syntax) .
picamera_basic_advanced_recipes/18461_340_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_326_0.txt
**[ phelix001 ](/phelix001) ** commented Apr 11, 2023
picamera_basic_advanced_recipes/imshowpythonmacosnot_76_0.txt
Follow
picamera_basic_advanced_recipes/picamera_basic_recipes_13_0.txt
## 3.13. Recording to a network stream ¶ This is similar to Recording video to a stream but instead of an in-memory stream like [ ` BytesIO ` ](https://docs.python.org/3.4/library/io.html#io.BytesIO "\(in Python v3.4\)") , we will use a file-like object created from a [ ` socket() ` ](https://docs.python.org/3.4...
picamera_basic_advanced_recipes/18461_149_0.txt
[ ![@n-gineer](https://avatars.githubusercontent.com/u/20650428?s=80&u=9640e4b929589b8125ccac87c02a4881fd452cc6&v=4) ](/n-gineer)
picamera_basic_advanced_recipes/18461_366_0.txt
[ Sign up for free ](/join?source=comment-repo) **to join this conversation on GitHub** . Already have an account? [ Sign in to comment ](/login?return_to=https%3A%2F%2Fgithub.com%2Fopencv%2Fopencv%2Fissues%2F18461)
picamera_basic_advanced_recipes/18461_57_0.txt
[ Namburger ](/Namburger) opened this issue Sep 29, 2020 · 29 comments
picamera_basic_advanced_recipes/18461_1_0.txt
## Navigation Menu
picamera_basic_advanced_recipes/18461_97_0.txt
---
picamera_basic_advanced_recipes/18461_287_0.txt
###
picamera_basic_advanced_recipes/imshowpythonmacosnot_19_0.txt
import numpy as np import cv2
picamera_basic_advanced_recipes/18461_25_0.txt
Clear
picamera_basic_advanced_recipes/18461_290_0.txt
Solution : ssh -Y user@wherever I'm not sure how I will overcome this issue when running opencv as a service. Perhaps just get rid of imshow.
picamera_basic_advanced_recipes/18461_266_0.txt
All reactions
picamera_basic_advanced_recipes/18461_80_0.txt
👍 3 mfoglio, s311354, and supermomo668 reacted with thumbs up emoji
picamera_basic_advanced_recipes/18461_279_0.txt
###
picamera_basic_advanced_recipes/18461_27_0.txt
# Provide feedback
picamera_basic_advanced_recipes/imshowpythonmacosnot_0_0.txt
First time here? Check out the FAQ!
picamera_basic_advanced_recipes/18461_220_0.txt
All reactions
picamera_basic_advanced_recipes/sshx11forwardingprob_28_0.txt
Rep: Reputation: Disabled I cannot answer why you cannot tunnel your openCV images through ssh. I think it is because they are not based on X11 but QT...
picamera_basic_advanced_recipes/18461_219_0.txt
---
picamera_basic_advanced_recipes/18461_159_0.txt
[ ![@Wwupup](https://avatars.githubusercontent.com/u/70632698?s=80&u=2173e838ca6b9a64528c4c28ab3811890f979714&v=4) ](/Wwupup)