Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

I had to add a text in an image, the tools didn't really matter. GUI or no GUI. I'm sorry if I wasn't able to explain myself better. Thank you
Akhou General Coding Help 17 10,974 May-23-2018, 09:07 AM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

I'm sorry but I don't see how I can do it! Can you please give me an example! Hey, I found an alternative solution for my problem. here is my code from PIL import Image from PIL import ImageDraw fro...
Akhou General Coding Help 17 10,974 May-16-2018, 07:28 AM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

My project is about loading an image and when I click on a button, a text area appears in the image, and I can write a text on it and later on save the text written on the image and the image. To do s...
Akhou General Coding Help 17 10,974 May-15-2018, 03:56 PM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

I need to add a text area, not just implement a line in the code that prints a text in my image draw.text((0, 0),"Sample Text",(255,255,255),font=font) This in not what I'm asking for!
Akhou General Coding Help 17 10,974 May-15-2018, 03:46 PM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

@buran, thank you for the link, we seem to have the same project but he is having troubles with the font while I'm having troubles with adding the text box. Thank you.
Akhou General Coding Help 17 10,974 May-15-2018, 03:01 PM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

I'm working with python! the library is tkinter, but the thing is that I need to save the picture after adding to it a text( I don't want a text already written in the code and display it when I run t...
Akhou General Coding Help 17 10,974 May-14-2018, 04:25 PM
    Thread: add a textbox in an image
Post: RE: add a textbox in an image

Thank you for your help, but can you please be more precise! I mean which section of the document is helpful in my case! Thank you
Akhou General Coding Help 17 10,974 May-14-2018, 08:12 AM
    Thread: add a textbox in an image
Post: add a textbox in an image

hey, I need to add a text box in an image, and when I run the application, I should be able to write in that text box. Is that possible using python? **huh** Thank you
Akhou General Coding Help 17 10,974 May-11-2018, 01:39 PM
    Thread: Score of similarity using SIFT (python)
Post: Score of similarity using SIFT (python)

Hello, I need to get the score of comparison of two images using SIFT. I found an example online and I wanted to adapt it with my needs, you'll find below the code. import cv2 import os import numpy ...
Akhou Data Science 1 5,229 May-07-2018, 01:24 PM
    Thread: Different templates for different rectangles python
Post: Different templates for different rectangles pytho...

My project is about shape detection, I have to detect the different rectangles in a given image and then import these data into a .qml file, I've been able to do so, but the problem is that for each r...
Akhou Data Science 0 1,947 May-03-2018, 01:57 PM
    Thread: Send and receive Files(data/images) betwenn a python app and another appl
Post: RE: Send and receive Files(data/images) betwenn a ...

Hello Thank you so muh for yoour help
Akhou General Coding Help 2 3,954 May-02-2018, 08:20 AM
    Thread: string.template
Post: RE: string.template

Thank u guys
Akhou General Coding Help 5 3,213 Apr-30-2018, 11:33 PM
    Thread: Send and receive Files(data/images) betwenn a python app and another appl
Post: Send and receive Files(data/images) betwenn a pyth...

Hey, I need to send and receive images and feedbacks between my python application and an application developped with Visual Basic, I thought about using Bluetooth to ensure the communication but all ...
Akhou General Coding Help 2 3,954 Apr-30-2018, 03:40 PM
    Thread: string.template
Post: RE: string.template

Hey, this is my python code if shape == "rectangle": x,y,w,h = cv2.boundingRect(c) cv2.rectangle(image,(x,y),(x+w,y+h),(0,255,0),0) from string import Template ...
Akhou General Coding Help 5 3,213 Apr-27-2018, 11:29 AM
    Thread: python Render template
Post: RE: python Render template

this is my code # -*- coding: utf-8 -*- """ Created on Thu Apr 26 20:55:49 2018 @author: Akhou """ import string v={'var1':'screen'} x=string.Template(""" { ...
Akhou General Coding Help 2 2,696 Apr-26-2018, 10:48 PM
    Thread: python Render template
Post: python Render template

Hello, I've created a template using python, but now I need to generate a .qml file from it, I wanted to work with rendered template but I coudn't go any where **wall** this is my example : imp...
Akhou General Coding Help 2 2,696 Apr-26-2018, 09:57 PM
    Thread: string.template
Post: string.template

Hello, Is it possible to generate a .qml file using string.template? Thank u ^^
Akhou General Coding Help 5 3,213 Apr-26-2018, 07:25 PM
    Thread: Communication between python and qt
Post: RE: Communication between python and qt

Thank you
Akhou Homework 2 2,901 Apr-26-2018, 07:23 PM
    Thread: Communication between python and qt
Post: Communication between python and qt

hey, I have to generate a .qml code automaticatty, so far I've been able to create a .qml template using Acceleo and a shape detection program using python, that can calculate the cordinations of the...
Akhou Homework 2 2,901 Apr-23-2018, 02:20 PM
    Thread: From python to qml
Post: From python to qml

Good morning; I'm creating a project, in which I've to send data from python to qml, in fact, i've a template written in qml, something like that : Item { id: width: height: Rectang...
Akhou General Coding Help 0 1,913 Apr-21-2018, 10:26 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020