Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Tkinter Drawing/Annotating on live video
Post: RE: Tkinter Drawing/Annotating on live video
For anyone interested I got this solved on Stack Overflow https://stackoverflow.com/questions/6913...3_69133975 |
|
KDog |
General Coding Help |
4 |
2,783 |
Sep-19-2021, 03:20 PM |
|
|
Thread: Tkinter Drawing/Annotating on live video
Post: RE: Tkinter Drawing/Annotating on live video
(Jul-05-2021, 01:21 AM)deanhystad Wrote: Can you come up with a shorter example?Hi deanhystad! I have shortened as much as possible. When you go to draw with the mouse you will briefly see an oval o... |
|
KDog |
General Coding Help |
4 |
2,783 |
Jul-05-2021, 12:50 PM |
|
|
Thread: Tkinter Drawing/Annotating on live video
Post: Tkinter Drawing/Annotating on live video
Hello all! I am working on an app that opens the webcam and then allows various functionality such as save image, change brightness etc.
I have implemented a drawing/annotation function so the user ca... |
|
KDog |
General Coding Help |
4 |
2,783 |
Jul-04-2021, 08:48 PM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
Many thanks for this deanhystad! I will play around with it.
Your second suggestion is a great idea, it will simplify things and leave me with a handy library of mini apps.
**biggrin** |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-27-2021, 11:07 AM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
The problem is when i go to save/snapshot an image it doesn't save the overlay on top of the video frame.
Also once i click save on the file dialog a new file dialog appears.
Here are my efforts at P... |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-02-2021, 09:42 PM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
Tried using PIL but still no joy:
import tkinter as tk
import ImageChops
import cv2
from PIL import Image, ImageTk, ImageEnhance
import PIL
import time
from tkinter import filedialog
import numpy as n... |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-02-2021, 12:54 PM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
Lesson learned on imports **smile**
Unfortunately neither of the above work. I don't get an error but the image saves without the overlay on it. |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-02-2021, 11:28 AM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
Hi Yoriz!
I tried the above and subsequently had to add tk. before various objects such as Canvas and ButtonStill getting the same error:
Error:/home/kieran/PycharmProjects/Kamera/venv/bin/python /hom... |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-01-2021, 09:19 PM |
|
|
Thread: ImageTk Paste
Post: RE: ImageTk Paste
(May-31-2021, 10:31 PM)Yoriz Wrote: Hello again, I don't see load used directly anywhere it must be called indirectly.
You should show the full error traceback as it indicates where it went wrong an... |
|
KDog |
General Coding Help |
14 |
6,908 |
Jun-01-2021, 03:07 PM |
|
|
Thread: ImageTk Paste
Post: ImageTk Paste
I'm back again with my camera app! Trying to overlay/merge two images when saving them.
The error i get is Error:AttributeError: 'PhotoImage' object has no attribute 'load'Please see code below:
from ... |
|
KDog |
General Coding Help |
14 |
6,908 |
May-31-2021, 09:47 PM |
|
|
Thread: Passing variable to function.
Post: RE: Passing variable to function.
Thank you once again Yoriz! **smile** |
|
KDog |
GUI |
2 |
2,150 |
May-25-2021, 09:15 PM |
|
|
Thread: Passing variable to function.
Post: Passing variable to function.
Hi all. I have an app that displays live webcam feed. I have created a brightness slider that almost works. It changes the frame brightness but then the update function stops unless I move the slider.... |
|
KDog |
GUI |
2 |
2,150 |
May-25-2021, 01:49 PM |
|
|
Thread: Overlay Still Image on Webcam Video
Post: RE: Tkinter Overlay Still Image on Webcam Video
That works. Thanks once again for all your help! **smile** |
|
KDog |
GUI |
4 |
4,037 |
May-18-2021, 08:29 PM |
|
|
Thread: Overlay Still Image on Webcam Video
Post: RE: Tkinter Overlay Still Image on Webcam Video
(May-16-2021, 08:56 PM)Yoriz Wrote: What about the overlay image being created inside the update method after it creates the video image if an overlay file has been selected.
Hi. That’s what I was t... |
|
KDog |
GUI |
4 |
4,037 |
May-18-2021, 06:31 AM |
|
|
Thread: Overlay Still Image on Webcam Video
Post: Overlay Still Image on Webcam Video
I have a program that opens video from the webcam and then performs functions such as saving an image and mirroring the live video. I am looking to add an overlay function where the user selects a PNG... |
|
KDog |
GUI |
4 |
4,037 |
May-16-2021, 08:18 PM |
|
|
Thread: Modify Class on Button Click
Post: RE: Modify Class on Button Click Tkinter
That worked **smile** thank you very much! |
|
KDog |
GUI |
4 |
3,950 |
May-11-2021, 08:43 PM |
|
|
Thread: Modify Class on Button Click
Post: RE: Modify Class on Button Click Tkinter
(May-09-2021, 10:04 AM)Yoriz Wrote: Create a bind on a button and in the event handler add the code to flip the video
How to rotate a video with OpenCV
Thanks for the quick response. Please see code... |
|
KDog |
GUI |
4 |
3,950 |
May-09-2021, 09:02 PM |
|
|
Thread: Modify Class on Button Click
Post: Modify Class on Button Click
I have a program that shows the live webcam feed from my laptop. It uses Tkinter and OpenCV.
I would like to flip the live video when a button is pressed. Any help is appreciated as I am a complete be... |
|
KDog |
GUI |
4 |
3,950 |
May-08-2021, 10:00 PM |