Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Reading Specific Rows In a CSV File
Post: RE: Reading Specific Rows In a CSV File

It’s fine now, I have opted to use sqlite to make a database rather than a csv file. Thanks for the information
finndude General Coding Help 3 991 Dec-13-2022, 03:19 PM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

(Dec-07-2022, 08:28 PM)deanhystad Wrote: Looking at tkvideoplayer source I don't think it supports rotating the video. It does have a call for getting video metadata. I guess you have to rotate th...
finndude General Coding Help 12 1,932 Dec-13-2022, 10:42 AM
    Thread: Reading Specific Rows In a CSV File
Post: Reading Specific Rows In a CSV File

Hi, I have a CSV file which I have attached a link to a photo of it to look at. I want to be able to retrieve the data from specific rows, based on the value in the first column, almost like SQL. So,...
finndude General Coding Help 3 991 Dec-13-2022, 10:26 AM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

Alright, what would the button need to do? Obviously to support portrait, but I haven’t yet figured out how to get portrait working, so how would I get the button do that?
finndude General Coding Help 12 1,932 Dec-07-2022, 04:55 PM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

(Dec-07-2022, 12:32 PM)deanhystad Wrote: What happens if the video is recorded in lanscape? In landscape it works fine, if i have Scaled = True it fills the whole space, If i have Scaled = False, it...
finndude General Coding Help 12 1,932 Dec-07-2022, 01:36 PM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

The video was recorded in portrait. I have the video now in the correct aspect ratio, but it still rotates it to landscape, why?
finndude General Coding Help 12 1,932 Dec-07-2022, 12:13 PM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

(Dec-06-2022, 05:25 PM)deanhystad Wrote: You ask the video what size it is? Well, you actually let the video player ask the video what size it is, then you get the video information from the player...
finndude General Coding Help 12 1,932 Dec-06-2022, 07:15 PM
    Thread: Push video to left and remove background
Post: RE: Push video to left and remove background

(Dec-04-2022, 09:20 PM)deanhystad Wrote: Make the video player the same size as the video. Position the video player in the top left corner. How would I do this? the video may be a differnt size ev...
finndude General Coding Help 12 1,932 Dec-06-2022, 04:25 PM
    Thread: Push video to left and remove background
Post: Push video to left and remove background

Hi All, I have the below code: from tkinter import * from tkinter.filedialog import askopenfile from tkVideoPlayer import TkinterVideo from random import * import cv2 from tkinter import messagebox ...
finndude General Coding Help 12 1,932 Dec-04-2022, 05:06 PM
    Thread: Issue getting mouse location
Post: Issue getting mouse location

Hi All, The aim of the code below is to get the mouse location on the canvas when its clicked. The canvas also can play a video when the user wants to. I can get the mouse location fine when there is...
finndude General Coding Help 1 763 Oct-12-2022, 02:45 PM
    Thread: Error I don't understand
Post: RE: Error I don't understand

Sorted, thanks!
finndude General Coding Help 2 5,107 Oct-12-2022, 02:43 PM
    Thread: Error I don't understand
Post: Error I don't understand

Hi, Heres is the code below: from tkinter import * from PIL import ImageTk, Image import cv2 import time data = cv2.VideoCapture("video.mp4") while not data.isOpened(): pass fps = data.get(cv2...
finndude General Coding Help 2 5,107 Oct-09-2022, 11:02 AM
    Thread: Shapes in Video
Post: Shapes in Video

Hi, Just wanted to know if this is possible in Tkinter? What I aim to do is have a user upload a video and for that to play in the window, then there will be buttons that you can press that puts sh...
finndude General Coding Help 0 669 Oct-07-2022, 03:30 PM
    Thread: Shapes over video in tkinter
Post: Shapes over video in tkinter

Hi all, I wanted to know if there is a way in Tkinter to simply play a video and with a button press, a circle appears on top of the video?
finndude General Coding Help 1 971 Oct-04-2022, 05:49 PM
    Thread: Video in Canvas
Post: RE: Video in Canvas

(Oct-02-2022, 01:57 PM)joe_momma Wrote: Quote: I have tried canvas.tag_raise(circ) circ is a function not a tag, I believe that the video player isn't a canvas object so any ovals created would be u...
finndude GUI 6 3,079 Oct-04-2022, 02:02 PM
    Thread: Video in Canvas
Post: RE: Video in Canvas

(Sep-29-2022, 02:11 PM)deanhystad Wrote: You need to redraw the circle each time the video image changes. Since you can't do that with tkinter, you need to look at adding an overlay in the video pl...
finndude GUI 6 3,079 Sep-29-2022, 02:44 PM
  Thumbs Up Thread: Video in Canvas
Post: RE: Video in Canvas

(Sep-29-2022, 10:35 AM)buran Wrote: https://stackoverflow.com/q/7227162/4046632 https://github.com/PaulleDemon/tkVideoPlayer Thanks **thumbsup** I have this code below: from tkinter import * fr...
finndude GUI 6 3,079 Sep-29-2022, 11:12 AM
    Thread: Video in Canvas
Post: Video in Canvas

Hi, just wanted to know if its possible to play a video in canvas with tkinter?
finndude GUI 6 3,079 Sep-29-2022, 10:33 AM
    Thread: Transparent Canvas
Post: RE: Transparent Canvas

(Sep-19-2022, 06:39 PM)deanhystad Wrote: I cannot find a way to set the canvas background color to transparent. You could inherit the window's background. That will not solve the problem of drawin...
finndude GUI 8 10,111 Sep-22-2022, 10:02 AM
    Thread: Transparent Canvas
Post: Transparent Canvas

Hi, I have this code here: from tkinter import * window=Tk() window.title("Drawing Shapes on Button Press") window.attributes("-fullscreen", True) ...
finndude GUI 8 10,111 Sep-18-2022, 02:59 PM

User Panel Messages

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