Go to advanced search

by Dan2000
Wed Apr 22, 2015 7:50 pm
Forum: Python
Topic: Text/Photo Banner on Picamera
Replies: 12
Views: 4233

Re: Text/Photo Banner on Picamera

Didn't think about going that route! That's probably the best option for my code anyway. If you've done it before, code you share a sample code. Just something to get me started please?! And example of writing text to the screen (updated), I don't use picamera so I simply load an image in this exam...
by Dan2000
Wed Apr 22, 2015 7:39 pm
Forum: Python
Topic: Text/Photo Banner on Picamera
Replies: 12
Views: 4233

Re: Text/Photo Banner on Picamera

You could also use the PIL library #!/usr/bin/env python import io import time import picamera from PIL import ImageFont from PIL import Image from PIL import ImageDraw # Create the in-memory stream stream = io.BytesIO() with picamera.PiCamera() as camera: camera.resolution = (800, 600) camera.star...
by Dan2000
Wed Apr 22, 2015 7:36 pm
Forum: Python
Topic: Text/Photo Banner on Picamera
Replies: 12
Views: 4233

Re: Text/Photo Banner on Picamera

Spoonsthegreatest wrote:can i just say, you can save it onto a USB and edit on paint.
hope this helps
spoonsthegreatest
I hope you are joking with this solution ;) Technically that is is possible, but it is not the right and efficient way. I mean, what if I have several (time-lapse) pictures even videos? Anyway thanks...
by Dan2000
Wed Apr 22, 2015 11:22 am
Forum: Camera board
Topic: Text/annotation on a picture at arbitrary position...?
Replies: 7
Views: 6558

Re: Text/annotation on a picture at arbitrary position...?

gordon77 wrote:You could use pygame but the fonts seem to be limited to 1
I am not familiar with this one. Is there any tutorial how I can use pygame to capture an image with the camera and put annotation on it? Thanks in advance
by Dan2000
Wed Apr 22, 2015 7:32 am
Forum: Camera board
Topic: Text/annotation on a picture at arbitrary position...?
Replies: 7
Views: 6558

Re: Text/annotation on a picture at arbitrary position...?

You can't is the simple answer. The annotation feature is exposing what was originally a debug feature that was attempting to interrupt the image processing pipe as little as possible. It therefore always works from the top of the image to get the stuff it wants to do done as soon as possible (the ...
by Dan2000
Tue Apr 21, 2015 5:10 pm
Forum: Camera board
Topic: Text/annotation on a picture at arbitrary position...?
Replies: 7
Views: 6558

Text/annotation on a picture at arbitrary position...?

Hello guys, I am not sure if this is the proper part of the forum to ask this question, but anyway here is my question: How can I place an annotation (a short text) on the lower side of the captured image using python (picamera release 1.10)? I use the example code below so as it is given in picamer...

Go to advanced search