id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
picamera_basic_advanced_recipes/18461_328_0.txt | --- | |
picamera_basic_advanced_recipes/18461_206_0.txt | **[ chrjen ](/chrjen) ** commented Jun 8, 2021 | |
picamera_basic_advanced_recipes/18461_136_0.txt | --- | |
picamera_basic_advanced_recipes/18461_241_0.txt | where do you get that .bashrc file? when i ` nano ~/.bashrc ` i didnt see
anything about display | |
picamera_basic_advanced_recipes/18461_343_0.txt | ### | |
picamera_basic_advanced_recipes/243406_35_0.txt | [ system ](https://forums.developer.nvidia.com/u/system) Closed March 6,
2023, 6:13am 15 | |
picamera_basic_advanced_recipes/243406_16_0.txt | [ Houber ](https://forums.developer.nvidia.com/u/Houber) February 20, 2023,
5:44am 11 | |
picamera_basic_advanced_recipes/picamera_advanced_recipes_16_0.txt | ## 4.16. Raw Bayer data captures ¶
The ` bayer ` parameter of the [ ` capture() `
](api_camera.html#picamera.PiCamera.capture "picamera.PiCamera.capture")
method causes the raw Bayer data recorded by the camera’s sensor to be output
as part of the image meta-data.
Note
The ` bayer ` parameter only operates with... | |
picamera_basic_advanced_recipes/18461_224_0.txt | Closed | |
picamera_basic_advanced_recipes/18461_199_0.txt | may be that command have some redundant stuff but works for me.My container
base on official Intel container - [
https://hub.docker.com/r/openvino/ubuntu18_dev
](https://hub.docker.com/r/openvino/ubuntu18_dev) | |
picamera_basic_advanced_recipes/18461_178_0.txt | 👍 1 jbasement reacted with thumbs up emoji | |
picamera_basic_advanced_recipes/sshx11forwardingprob_14_0.txt | I have an embedded board and I want to connect the embedded board with ssh -X and play video on the host side. But when I connect and execute mine code via ssh -X, imshow shows video on its touchscreen, not in the host. | |
picamera_basic_advanced_recipes/18461_248_0.txt | **[ jbasement ](/jbasement) ** commented Jan 12, 2022 | |
picamera_basic_advanced_recipes/18461_83_0.txt | [

](/BoShaoLi) | |
picamera_basic_advanced_recipes/18461_282_0.txt | --- | |
picamera_basic_advanced_recipes/18461_64_0.txt | **[ Namburger ](/Namburger) ** commented Sep 29, 2020 | |
picamera_basic_advanced_recipes/18461_13_0.txt | * [ CI/CD & Automation ](https://github.com/solutions/ci-cd)
* [ DevOps ](https://github.com/solutions/devops)
* [ DevSecOps ](https://resources.github.com/devops/fundamentals/devsecops) | |
picamera_basic_advanced_recipes/18461_151_0.txt | ### | |
picamera_basic_advanced_recipes/18461_144_0.txt | **[ zjdx1998 ](/zjdx1998) ** commented Nov 28, 2020 | |
picamera_basic_advanced_recipes/18461_254_0.txt | * 👍 1 reaction | |
picamera_basic_advanced_recipes/18461_327_0.txt | The keyword here is headless install. If headless install and getting the
cv2.imshow() error, then use the -Y flag on ssh | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_51_0.txt | you can add to your question and select text and apply icon 101à10 | |
picamera_basic_advanced_recipes/18461_197_0.txt | So I encounter same problem.
"Can't initialize GTK backend in function 'cvInitSystem'". In my case I use
Docker container and that error appears when I run OpenVino demo from docker.
The problem is X11 server for the images or GUI server.You need install and
run that server in Docker container. Running have to be when ... | |
picamera_basic_advanced_recipes/sshx11forwardingprob_12_0.txt | Rep: Reputation: Disabled
ssh X11 forwarding problem with OpenCV3.2.0 imshow() | |
picamera_basic_advanced_recipes/18461_126_0.txt | All reactions | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_82_0.txt | Last updated: **Jan 29 '19** | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_4_0.txt | This forum is disabled, please visit [ https://forum.opencv.org
](https://forum.opencv.org) | |
picamera_basic_advanced_recipes/sshx11forwardingprob_37_0.txt | All times are GMT -5. The time now is 04:30 PM. | |
picamera_basic_advanced_recipes/18461_269_0.txt | Copy link | |
picamera_basic_advanced_recipes/18461_378_0.txt | [ 
](/reunanen) [

](/scipioni) [

](/w4w4n78) [

](/Myzhar) [ Myzhar ](/Myzhar) mentioned this issue Sep 8, 2021 | |
picamera_basic_advanced_recipes/18461_133_0.txt | ### | |
picamera_basic_advanced_recipes/243406_19_0.txt | just like this:
[ # include ](/tag/include) <opencv2/highgui.hpp>
…
imwrite(“edges_” + strBackend + “.png”, cvOut);
imshow(“img”, cvOut); | |
picamera_basic_advanced_recipes/18461_10_0.txt | For | |
picamera_basic_advanced_recipes/18461_161_0.txt | Contributor | |
picamera_basic_advanced_recipes/18461_172_0.txt | Copy link | |
picamera_basic_advanced_recipes/sshx11forwardingprob_24_0.txt | Registered: Dec 2019
Posts: 2 | |
picamera_basic_advanced_recipes/18461_196_0.txt | **[ TVI-BIZ ](/TVI-BIZ) ** commented Apr 20, 2021 | |
picamera_basic_advanced_recipes/18461_313_0.txt | [ 
](/kartikpodugu) | |
picamera_basic_advanced_recipes/18461_246_0.txt | Copy link | |
picamera_basic_advanced_recipes/243406_18_0.txt | [ Houber ](https://forums.developer.nvidia.com/u/Houber) February 20, 2023,
5:54am 12 | |
picamera_basic_advanced_recipes/18461_39_0.txt | You signed in with another tab or window. [ Reload ]() to refresh your
session. You signed out in another tab or window. [ Reload ]() to refresh
your session. You switched accounts on another tab or window. [ Reload ]() to
refresh your session. Dismiss alert | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_87_0.txt | [ imshow without namedWindow showing image ](/question/10995/imshow-without-
namedwindow-showing-image/) | |
picamera_basic_advanced_recipes/picamera_advanced_recipes_11_0.txt | ## 4.11. Capturing images whilst recording ¶
The camera is capable of capturing still images while it is recording video.
However, if one attempts this using the stills capture mode, the resulting
video will have dropped frames during the still image capture. This is because
images captured via the still port requir... | |
picamera_basic_advanced_recipes/picamera_advanced_recipes_6_0.txt | ## 4.6. Unconventional file outputs ¶
As noted in prior sections, picamera accepts a wide variety of things as an
output:
* A string, which will be treated as a filename.
* A file-like object, e.g. as returned by [ ` open() ` ](https://docs.python.org/3.4/library/functions.html#open "\(in Python v3.4\)") .
... | |
picamera_basic_advanced_recipes/18461_162_0.txt | ### | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_38_0.txt | Thanks for looking into this! But no, it's not None: ` print(img) ` gives me
the correct array, and I can even do ` cv2.imwrite('butterfly_bw.jpg',img) `
and get a saved copy of the bw version. | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_30_0.txt | CPU/HW features:
Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
requested: DETECT
disabled: SSE4_1 SSE4_2 AVX AVX2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (0 files... | |
picamera_basic_advanced_recipes/243406_2_0.txt | [ Autonomous Machines ](/c/agx-autonomous-machines/jetson-embedded-
systems/jetson-tx2/81) [ Jetson & Embedded Systems ](/c/agx-autonomous-
machines/jetson-embedded-systems/jetson-tx2/81) [ Jetson TX2 ](/c/agx-
autonomous-machines/jetson-embedded-systems/jetson-tx2/81) | |
picamera_basic_advanced_recipes/18461_369_0.txt | Labels | |
picamera_basic_advanced_recipes/243406_11_0.txt | [ Houber ](https://forums.developer.nvidia.com/u/Houber) February 20, 2023,
4:05am 7 | |
picamera_basic_advanced_recipes/18461_169_0.txt | * 👍 1 reaction
* 🚀 1 reaction | |
picamera_basic_advanced_recipes/18461_275_0.txt | All reactions | |
picamera_basic_advanced_recipes/18461_163_0.txt | **[ Wwupup ](/Wwupup) ** commented Jan 12, 2021 | |
picamera_basic_advanced_recipes/picamera_advanced_recipes_16_2.txt | pview = as_strided(p, shape=(
p.shape[0] - borders[0],
p.shape[1] - borders[1]) + window, strides=p.strides * 2)
bview = as_strided(b, shape=(
b.shape[0] - borders[0],
b.shape[1] - borders[1]) + window, strides=b.strides * 2)
psum = np.einsum('ijkl->ij... | |
picamera_basic_advanced_recipes/18461_192_0.txt | Sorry, something went wrong. | |
picamera_basic_advanced_recipes/18461_375_0.txt | Development | |
picamera_basic_advanced_recipes/18461_137_0.txt | 👍 34 ahnniu, Wwupup, kausainshah, devimy, hppycoder, IvanMatoshchuk,
peacefulbyte, feljrz, andyrey, haixiansheng, and 24 more reacted with thumbs
up emoji 👎 5 kawavil, AlexVialaBellander, yamelakalemu, SiyaSalekar, and
simesh-git reacted with thumbs down emoji | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_27_0.txt | General configuration for OpenCV 4.0.1 =====================================
Version control: unknown | |
picamera_basic_advanced_recipes/picamera_advanced_recipes_7_0.txt | ## 4.7. Rapid capture and processing ¶
The camera is capable of capturing a sequence of images extremely rapidly by
utilizing its video-capture capabilities with a JPEG encoder (via the
_use_video_port_ parameter). However, there are several things to note about
using this technique:
* When using video-port based... | |
picamera_basic_advanced_recipes/18461_90_0.txt | Sorry, something went wrong. | |
picamera_basic_advanced_recipes/18461_356_0.txt | Sorry, something went wrong. | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_24_0.txt | I'm using Python3.6, on macOS (Mojave), cv2 v.4.0.1 | |
picamera_basic_advanced_recipes/picamera_basic_recipes_0_0.txt | [ Picamera ](index.html)
release-1.13
* [ 1\. Installation ](install.html)
* [ 2\. Getting Started ](quickstart.html)
* 3\. Basic Recipes
* 3.1. Capturing to a file
* 3.2. Capturing to a stream
* 3.3. Capturing to a PIL Image
* 3.4. Capturing resized images
* 3.5. Capturing consistent i... | |
picamera_basic_advanced_recipes/sshx11forwardingprob_39_0.txt | My LQ
Login
Register
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
LQ Calendar
LQ Rules
LQ Sitemap
Site FAQ
View New Posts
View Latest Posts
Zero Reply Threads
LQ Wiki Most Wanted
Jeremy's ... | |
picamera_basic_advanced_recipes/18461_72_0.txt | Aborted | |
picamera_basic_advanced_recipes/picamera_basic_recipes_9_0.txt | ## 3.9. Recording video to a file ¶
Recording a video to a file is simple:
import picamera
camera = picamera.PiCamera()
camera.resolution = (640, 480)
camera.start_recording('my_video.h264')
camera.wait_recording(60)
camera.stop_recording()
Note that we use [ ` wait_reco... | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_92_0.txt | [ imshow namedWindow crash ](/question/16618/imshow-namedwindow-crash/) | |
picamera_basic_advanced_recipes/18461_353_0.txt | solve me ,for raspberrpi 4 terminal window | |
picamera_basic_advanced_recipes/18461_147_0.txt | All reactions | |
picamera_basic_advanced_recipes/sshx11forwardingprob_35_0.txt | Smilies are On
[IMG] code is Off
HTML code is Off
Forum Rules | |
picamera_basic_advanced_recipes/18461_236_0.txt | [

](/duriantaco) | |
picamera_basic_advanced_recipes/sshx11forwardingprob_32_0.txt | #you can use:
img2 = Image.fromarray(img, 'RGB')
img2.show()
Last edited by Warrenn56; 01-17-2020 at 04:45 AM. | |
picamera_basic_advanced_recipes/18461_233_0.txt | All reactions | |
picamera_basic_advanced_recipes/18461_85_0.txt | ### | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_35_0.txt | can you check if image is None ? | |
picamera_basic_advanced_recipes/243406_32_0.txt |
Thanks. | |
picamera_basic_advanced_recipes/18461_323_0.txt | [

](/phelix001) | |
picamera_basic_advanced_recipes/sshx11forwardingprob_5_0.txt | Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now | |
picamera_basic_advanced_recipes/18461_322_0.txt | Sorry, something went wrong. | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_32_0.txt | (more) | |
picamera_basic_advanced_recipes/18461_113_0.txt | --- | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_61_0.txt | ## 1 answer | |
picamera_basic_advanced_recipes/18461_160_0.txt | Copy link | |
picamera_basic_advanced_recipes/18461_155_0.txt | 👍 18 definedfunctions, makew0rld, simaansaada, jbasement, zhufeng-ls,
ArianBahrampour, saurabheights, Edvenan, AAArthurLiu, mnumanuyar, and 8 more
reacted with thumbs up emoji | |
picamera_basic_advanced_recipes/18461_373_0.txt | Milestone | |
picamera_basic_advanced_recipes/18461_381_0.txt | ### Footer navigation | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_71_0.txt | [ __ Official site ](https://opencv.org) | |
picamera_basic_advanced_recipes/18461_70_0.txt |
Everything compiles just fine until I run the program, an error like this
appears: | |
picamera_basic_advanced_recipes/18461_377_0.txt | 27 participants | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_63_0.txt | [ answered ** 2019-01-29 14:05:30 -0600 ** ](/answers/208102/revisions/) | |
picamera_basic_advanced_recipes/18461_286_0.txt | Copy link | |
picamera_basic_advanced_recipes/imshowpythonmacosnot_23_0.txt | * using an absolute path instead
* adding ` cv2.startWindowThread(); cv2.namedWindow('Butterfly') ` before the ` imshow() ` command
* reading lots of posts with similar problems | |
picamera_basic_advanced_recipes/sshx11forwardingprob_23_0.txt |
Old 01-08-2020, 08:50 AM #3
sarslan
LQ Newbie | |
picamera_basic_advanced_recipes/18461_135_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-while-runnin)
hop... | |
picamera_basic_advanced_recipes/18461_379_0.txt | ## Footer | |
picamera_basic_advanced_recipes/18461_81_0.txt | All reactions | |
picamera_basic_advanced_recipes/18461_52_0.txt | # error: (-2:Unspecified error) Can't initialize GTK backend in function
'cvInitSystem' #18461 | |
picamera_basic_advanced_recipes/18461_331_0.txt | [

](/sunbeam-217) | |
picamera_basic_advanced_recipes/18461_21_0.txt | * [ Pricing ](https://github.com/pricing) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.