- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hi all. I'm trying to capture video from a webcam and then display the feed in a wxPython GUI. I originally borrowed code from the OpenCV wiki ([url]http://opencv.willowgarage.com/wiki/wxpython[/url]), and since the code was for OpenCV 1.x I tried to adapt it for version 2.1. Here's my attempt to far: [CODE]import … |
|
Re:
Using the tutorial found here: [url]http://www.daniweb.com/code/snippet216550.html[/url], I have begun the graphic portion of my game. I have many .gif battler sprites loaded into variables in my project. However, all of these battlers are right-facing. I need some of them to be flipped to be left-facing to be on the hero's … |
|
Here's my situation. Let's say I would like to create a thread that continually prints the number 1. When a button is clicked the value should then change to 2. My issue is that I'm unsure how I change a variable in an already running thread. Here's my code: [CODE] … |
|
Hope you kind folk can spare a bit of advice. I'm trying to find a clever way to modifying a part of an image without replacing the image completely. For instance, let's say I have an image of a car and I would like to show the tire is flat. … |
|
Hey all. Let's say I would like to periodically poll for a change in a variable/device/etc. Obviously I would like to use an infinite loop and when need be, break from the loop to end the polling routine. What I don't what to do is peak my processor usage by … |
|
Hello all. I'm trying to get a video feed in a wxPython GUI (under MS Windows) and thought about using OpenCV. There is a short tutorial on how to achieve this at this page: [url]http://opencv.willowgarage.com/wiki/wxpython[/url] (updated late 2009). The problem I'm having is trying to load the libraries to get … |
|
Hey all. So I'm attempting to include mouse gestures as a part of a GUI I'm designing. I'm using the following code, and it works great HOWEVER only when the gesture is draw away from widgets/controls (such as buttons, statictext's, etc). If I start a gesture and cross the path … |
|
Hey all, Hopefully this will help someone with a problem I encountered. For a few days now I was looking for a way to concisely set the attributes to numerous controls without duplicating attribute code again and again. For example, let's say I have 3 static text controls and I … |
|
Re:
I have no clue how to start this Use the for and while iterative structures within Python to program a loop that generates a list of odd numbers from 1 to 33 inclusive. (two sets of code here!) |
|
Re:
python.org tell people to forget about python 2 and head into python 3, but many 3rd party module do not support python 3 at all. For example, python 3 only ship with a tkinter gui module which does not have great reputation. If I am to use python 3, I … |
|
Re:
Hi, this is my first post here at Daniweb. Seems like an active and friendly environment. I have very limited experience with programming in general, and even more so with GUI programming. As the title suggests, I want to stop a while loop by the use of buttons. When I … |
|
Re:
Hey DW. I'm trying to figure out a way so my TCP Server and client can seamlessly send messages back and forth without having to take turns sending the message. Python isn't my language of choice but it's the one i have to use for this assessment. I'm also using … |
|
Re:
I've learn python and I won't say that I know it all, but I won't see anywhere except google will use python. New programming language like python and ruby, do they have space to grow? |
|
Hi all. I'm having a bit of trouble implementing the basics of a multi panel GUI. Basically I need a GUI that will act as an in-dash display for a car. The home screen will offer the user the ability to chose a selection of buttons. For example, the 'settings' … |
|
Hello all. I'm having a bit of trouble trying to figure out how to access data I input into a ctypes array object. This is used with a hardware SDK, so I can't really change the data format at all. Here's the code: [CODE] from ctypes import * MsgDataType = … |
|
Hi all, Just started using Python a week or so ago, really enjoying it so far, but stuck with a project I'm working on. I'm trying to create a in-dash display system which uses Python to communicate with a piece of hardware and uses an HTML page to display the … |