id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
picamera_basic_advanced_recipes/18461_31_0.txt
# Saved searches
picamera_basic_advanced_recipes/sshx11forwardingprob_0_0.txt
LinuxQuestions.org Latest LQ Deal: Latest LQ Deals
picamera_basic_advanced_recipes/18461_77_0.txt
Any suggestion would be highly appreciated!
picamera_basic_advanced_recipes/imshowpythonmacosnot_45_0.txt
[ ![AnnaMP gravatar image](/m/default/media/images/nophoto.png?v=6) ](/users/414443/annamp/) [ AnnaMP ](/users/414443/annamp/) ( 2019-01-24 06:56:32 -0600 ) edit
picamera_basic_advanced_recipes/18461_127_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/picamera_basic_recipes_10_0.txt
## 3.10. Recording video to a stream ¶ This is very similar to Recording video to a file : from io import BytesIO from picamera import PiCamera stream = BytesIO() camera = PiCamera() camera.resolution = (640, 480) camera.start_recording(stream, format='h264', quality=23) ...
picamera_basic_advanced_recipes/18461_157_0.txt
* 👍 18 reactions
picamera_basic_advanced_recipes/18461_29_0.txt
Include my email address so I can be contacted
picamera_basic_advanced_recipes/sshx11forwardingprob_3_0.txt
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
picamera_basic_advanced_recipes/18461_15_0.txt
* [ Learning Pathways ](https://resources.github.com/learn/pathways) * [ White papers, Ebooks, Webinars ](https://resources.github.com) * [ Customer Stories ](https://github.com/customer-stories) * [ Partners ](https://partner.github.com)
picamera_basic_advanced_recipes/18461_226_0.txt
Copy link
picamera_basic_advanced_recipes/18461_213_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/imshowpythonmacosnot_22_0.txt
Things I have tried (to no avail):
picamera_basic_advanced_recipes/18461_273_0.txt
It doesn't seem to work on my system (WSL ubuntu) !
picamera_basic_advanced_recipes/18461_212_0.txt
* 👍 2 reactions
picamera_basic_advanced_recipes/18461_177_0.txt
---
picamera_basic_advanced_recipes/18461_267_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_68_0.txt
I have opencv as an external dependency that I compile from source like this:
picamera_basic_advanced_recipes/18461_307_0.txt
###
picamera_basic_advanced_recipes/18461_225_0.txt
[ ![@reunanen](https://avatars.githubusercontent.com/u/2297572?s=80&v=4) ](/reunanen)
picamera_basic_advanced_recipes/18461_228_0.txt
###
picamera_basic_advanced_recipes/18461_24_0.txt
Search
picamera_basic_advanced_recipes/18461_118_0.txt
Member
picamera_basic_advanced_recipes/18461_146_0.txt
---
picamera_basic_advanced_recipes/imshowpythonmacosnot_58_0.txt
I must say that I don't know Mac install procedure. Using cmake you can set python path cmake -D
picamera_basic_advanced_recipes/18461_73_0.txt
libgtk2 is definitely installed:
picamera_basic_advanced_recipes/picamera_advanced_recipes_15_0.txt
## 4.15. Custom encoders ¶ You can override and/or extend the encoder classes used during image or video capture. This is particularly useful with video capture as it allows you to run your own code in response to every frame, although naturally whatever code runs within the encoder’s callback has to be reasonably q...
picamera_basic_advanced_recipes/18461_367_0.txt
Assignees
picamera_basic_advanced_recipes/18461_184_0.txt
###
picamera_basic_advanced_recipes/18461_53_0.txt
Closed
picamera_basic_advanced_recipes/18461_235_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_110_0.txt
###
picamera_basic_advanced_recipes/18461_329_0.txt
All reactions
picamera_basic_advanced_recipes/18461_9_0.txt
* Solutions
picamera_basic_advanced_recipes/sshx11forwardingprob_7_0.txt
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
picamera_basic_advanced_recipes/18461_30_0.txt
Cancel Submit feedback
picamera_basic_advanced_recipes/18461_268_0.txt
[ ![@HedoesnotDICE](https://avatars.githubusercontent.com/u/95764398?s=80&u=a883e063fedb9aee5c64b6e24dc641eec58dc1af&v=4) ](/HedoesnotDICE)
picamera_basic_advanced_recipes/picamera_advanced_recipes_10_0.txt
## 4.10. Web streaming ¶ Streaming video over the web is surprisingly complicated. At the time of writing, there are still no video standards that are universally supported by all web browsers on all platforms. Furthermore, HTTP was originally designed as a one-shot protocol for serving web-pages. Since its inventio...
picamera_basic_advanced_recipes/243406_15_0.txt
Could you share your implementation so we can check it for you? Thanks.
picamera_basic_advanced_recipes/18461_92_0.txt
Copy link
picamera_basic_advanced_recipes/18461_171_0.txt
[ ![@hcgfighting](https://avatars.githubusercontent.com/u/21313968?s=80&v=4) ](/hcgfighting)
picamera_basic_advanced_recipes/sshx11forwardingprob_38_0.txt
Contact Us - Advertising Info - Rules - Privacy - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Search LQ Tags Linux Tutorials LQ Deals Linux Wiki Download Linux Social Groups LQ Blogs (Con't) Advertisement
picamera_basic_advanced_recipes/imshowpythonmacosnot_53_0.txt
[ ![LBerger gravatar image](/upfiles/avatars/LBerger/resized/16/Sans%20titre.png) ](/users/8129/lberger/) [ LBerger ](/users/8129/lberger/) ( 2019-01-24 07:11:44 -0600 ) edit
picamera_basic_advanced_recipes/18461_78_0.txt
---
picamera_basic_advanced_recipes/18461_165_0.txt
I solved the problem through this method. There is no GUI on the server side, so I need to comment out imshow.
picamera_basic_advanced_recipes/18461_361_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/18461_185_0.txt
**[ w4w4n78 ](/w4w4n78) ** commented Apr 13, 2021
picamera_basic_advanced_recipes/sshx11forwardingprob_16_0.txt
OpenCV version is 3.2.0 Host machine is ubuntu 16.04 ( I also tried with Ubuntu 18.04 )
picamera_basic_advanced_recipes/imshowpythonmacosnot_16_0.txt
[ updated ** 2019-01-24 07:21:53 -0600 ** ](/questions/207755/revisions/)
picamera_basic_advanced_recipes/imshowpythonmacosnot_1_0.txt
[ Hi there! Please sign in ](/account/signin/?next=/question/207755/imshow- pythonmacos-not-showing-the-image/) [ help ](/help/ "help")
picamera_basic_advanced_recipes/243406_30_0.txt
#include <vpi/Image.h> @@ -149,6 +150,8 @@ int main(int argc, char *argv[]) cv::Mat cvOut(outData.planes[0].height, outData.planes[0].width, CV_8UC1, outData.planes[0].data, outData.planes[0].pitchBytes); imwrite("edges_" + strBackend + ".png", cvOut); + cv::imshow("output", cvOut); + cv::waitKey(...
picamera_basic_advanced_recipes/imshowpythonmacosnot_93_0.txt
[ OpenCV Error: Assertion Failed (size.width>0 && size.height>0) in unknown function ](/question/18135/opencv-error-assertion-failed- sizewidth0-sizeheight0-in-unknown-function/)
picamera_basic_advanced_recipes/imshowpythonmacosnot_65_0.txt
[ AnnaMP ](/users/414443/annamp/) 36 ● 1 ● 4
picamera_basic_advanced_recipes/18461_18_0.txt
* [ The ReadME Project GitHub community articles ](https://github.com/readme)
picamera_basic_advanced_recipes/picamera_advanced_recipes_3_0.txt
## 4.3. Unencoded image capture (YUV format) ¶ If you want images captured without loss of detail (due to JPEG’s lossy compression), you are probably better off exploring PNG as an alternate image format (PNG uses lossless compression). However, some applications (particularly scientific ones) simply require the ima...
picamera_basic_advanced_recipes/picamera_basic_recipes_15_0.txt
## 3.15. Overlaying text on the output ¶ The camera includes a rudimentary annotation facility which permits up to 255 characters of ASCII text to be overlaid on all output (including the preview, image captures and video recordings). To achieve this, simply assign a string to the [ ` annotate_text ` ](api_camera.h...
picamera_basic_advanced_recipes/18461_337_0.txt
👍 1 sunbeam-217 reacted with thumbs up emoji
picamera_basic_advanced_recipes/18461_351_0.txt
###
picamera_basic_advanced_recipes/imshowpythonmacosnot_20_0.txt
img = cv2.imread('butterfly.jpg', 0) print(img)
picamera_basic_advanced_recipes/18461_188_0.txt
---
picamera_basic_advanced_recipes/18461_203_0.txt
[ ![@chrjen](https://avatars.githubusercontent.com/u/10513014?s=80&v=4) ](/chrjen)
picamera_basic_advanced_recipes/18461_294_0.txt
[ ![@liuzihaode](https://avatars.githubusercontent.com/u/64268662?s=80&v=4) ](/liuzihaode)
picamera_basic_advanced_recipes/18461_50_0.txt
Already on GitHub? [ Sign in ](/login?return_to=%2Fopencv%2Fopencv%2Fissues%2Fnew%2Fchoose) to your account
picamera_basic_advanced_recipes/18461_336_0.txt
---
picamera_basic_advanced_recipes/18461_232_0.txt
👍 2 ducatlas and fengyuentau reacted with thumbs up emoji
picamera_basic_advanced_recipes/sshx11forwardingprob_27_0.txt
Registered: Jan 2020 Posts: 1
picamera_basic_advanced_recipes/18461_76_0.txt
This code, which used to works without issue: [ https://github.com/Namburger/edgetpu-detection-camera ](https://github.com/Namburger/edgetpu-detection-camera) We are only seeing this behavior on one of the system o_0
picamera_basic_advanced_recipes/imshowpythonmacosnot_85_0.txt
[ opencv imshow causing a memory leak (c++) ](/question/4806/opencv-imshow- causing-a-memory-leak-c/)
picamera_basic_advanced_recipes/18461_346_0.txt
---
picamera_basic_advanced_recipes/18461_270_0.txt
###
picamera_basic_advanced_recipes/18461_180_0.txt
* 👍 1 reaction
picamera_basic_advanced_recipes/18461_256_0.txt
[ ![@AyaNasser96](https://avatars.githubusercontent.com/u/98317981?s=80&u=c219d09d064b6ceb13748ee33eab09a40081b987&v=4) ](/AyaNasser96)
picamera_basic_advanced_recipes/18461_45_0.txt
* [ Code ](/opencv/opencv) * [ Issues ](/opencv/opencv/issues) * [ Pull requests ](/opencv/opencv/pulls) * [ Discussions ](/opencv/opencv/discussions) * [ Actions ](/opencv/opencv/actions) * [ Projects ](/opencv/opencv/projects) * [ Wiki ](/opencv/opencv/wiki) * [ Security ](/opencv/opencv/security) * [ Insight...
picamera_basic_advanced_recipes/imshowpythonmacosnot_36_0.txt
img = cv2.imread('butterfly.jpg', 0) if img is None: print("Check file path")
picamera_basic_advanced_recipes/18461_234_0.txt
* 👍 2 reactions
picamera_basic_advanced_recipes/18461_63_0.txt
###
picamera_basic_advanced_recipes/18461_179_0.txt
All reactions
picamera_basic_advanced_recipes/sshx11forwardingprob_19_0.txt
Do you have any idea about this issue ? Thanks for your helps !
picamera_basic_advanced_recipes/18461_112_0.txt
Facing same error. Please solve this issue....
picamera_basic_advanced_recipes/18461_40_0.txt
{{ message }}
picamera_basic_advanced_recipes/18461_211_0.txt
All reactions
picamera_basic_advanced_recipes/picamera_advanced_recipes_3_1.txt
type=np.uint8, count=(fwidth//2)*(fheight//2)).\ reshape((fheight//2, fwidth//2)).\ repeat(2, axis=0).repeat(2, axis=1) # Stack the YUV channels together, crop the actual resolution, convert to # floating point for later calculations, and apply the standard biases YUV = np.dstack((Y,...
picamera_basic_advanced_recipes/18461_140_0.txt
Sorry, something went wrong.
picamera_basic_advanced_recipes/18461_239_0.txt
**[ duriantaco ](/duriantaco) ** commented Nov 7, 2021
picamera_basic_advanced_recipes/imshowpythonmacosnot_64_0.txt
[ ![AnnaMP gravatar image](/m/default/media/images/nophoto.png?v=6) ](/users/414443/annamp/)
picamera_basic_advanced_recipes/18461_82_0.txt
* 👍 3 reactions
picamera_basic_advanced_recipes/sshx11forwardingprob_4_0.txt
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
picamera_basic_advanced_recipes/picamera_advanced_recipes_7_1.txt
64 video format (which is to say that, for the same number of bytes, H.264 will provide considerably better quality over the same number of frames). At higher resolutions (beyond 800x600) you are likely to find you cannot sustain 30fps captures to the Pi’s SD card for very long (before exhausting the disk cache). If y...
picamera_basic_advanced_recipes/18461_121_0.txt
Check Internet about ` gtk_init_check() ` call failure reasons.
picamera_basic_advanced_recipes/imshowpythonmacosnot_56_0.txt
Er, yes, I did have some weird issues during installation ... I installed with 'brew install opencv' and it got installed into /usr/local/lib/python3.7/site- packages and but when I start ` python3 ` it runs Python 3.6 and I didn't know how to start Python 3.7, so I created a symbolic link to /usr/local/opt/opencv/lib/...
picamera_basic_advanced_recipes/18461_253_0.txt
All reactions
picamera_basic_advanced_recipes/18461_96_0.txt
@15927495612 nope, no words from the team, unfortunately :/
picamera_basic_advanced_recipes/sshx11forwardingprob_18_0.txt
Extra Note: When I play video with ffplay after connecting embedded board with ssh -X, I can see the video in the host side.
picamera_basic_advanced_recipes/18461_332_0.txt
Copy link
picamera_basic_advanced_recipes/picamera_advanced_recipes_13_2.txt
camera.wait_recording(1) finally: camera.stop_recording() Within a few inches of the camera, move your hand up, down, left, and right, parallel to the camera and you should see the direction displayed on the console. New in version 1.5.
picamera_basic_advanced_recipes/18461_311_0.txt
All reactions
picamera_basic_advanced_recipes/18461_79_0.txt
The text was updated successfully, but these errors were encountered:
picamera_basic_advanced_recipes/18461_189_0.txt
👍 1 Hoangpham13579 reacted with thumbs up emoji
picamera_basic_advanced_recipes/18461_333_0.txt
###
picamera_basic_advanced_recipes/imshowpythonmacosnot_31_0.txt
C/C++: Built as dynamic libs?: YES C++ Compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ (ver 10.0.0.10001145) C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-securit...