Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Assign image names in folder to images in other folder.
Post: RE: Assign image names in folder to images in othe...

Let me tell few things again, The code worked with the above suggestions but what I have to do is somewhat different. I have images in folder which I want to rename. path:"/home/ujjval/Downloads/video...
ujjwalrathod007 Data Science 15 7,658 Sep-03-2018, 01:35 PM
    Thread: Assign image names in folder to images in other folder.
Post: RE: Assign image names in folder to images in othe...

Here is my Python code. import os import numpy as np list1=os.listdir("/home/ujjval/Downloads/rgbd_dataset_freiburg1_xyz/rgb/") list2=os.listdir("/home/ujjval/Downloads/video-image/data/") list1.sor...
ujjwalrathod007 Data Science 15 7,658 Sep-02-2018, 07:51 PM
    Thread: Assign image names in folder to images in other folder.
Post: RE: Assign image names in folder to images in othe...

I did exactly the same as you suggested. In fact it is giving me an error Error:FileNotFoundError: [Errno 2] No such file or directory: '1305031114.111263.png' -> '/home/ujjval/Downloads/video-im...
ujjwalrathod007 Data Science 15 7,658 Sep-02-2018, 02:28 PM
    Thread: Assign image names in folder to images in other folder.
Post: renaming the image files in a folder with the imag...

I want to rename the images in a folder with images in another folder. after trying a while it seems bit tricky. My images in the source folder looks like the following Quote:1305031102.175304.png 1...
ujjwalrathod007 Data Science 15 7,658 Sep-01-2018, 04:13 PM
    Thread: Assign image names in folder to images in other folder.
Post: RE: Assign image names in folder to images in othe...

But what about renaming it? I wrote the following code but it is not working the way I want. import os import numpy as np list=os.listdir("/home/ujjval/Downloads/rgbd_dataset_freiburg1_xyz/rgb/") l...
ujjwalrathod007 Data Science 15 7,658 Sep-01-2018, 01:00 PM
    Thread: Assign image names in folder to images in other folder.
Post: RE: Assign image names in folder to images in othe...

Yes the source directory contains images with names as follows. the images are 480*640 wide... '1305031114.111263.png', '1305031111.111508.png', '1305031115.879198.png', '1305031128.379404.png', '130...
ujjwalrathod007 Data Science 15 7,658 Aug-29-2018, 07:30 PM
    Thread: Assign image names in folder to images in other folder.
Post: Assign image names in folder to images in other fo...

Hello all, I want to use images for input to my algorithm. the images are stored in a file with names and I want to extract those names and give it to the other images in a folder in a given order. ...
ujjwalrathod007 Data Science 15 7,658 Aug-29-2018, 05:10 PM
    Thread: PyQt5 undefined symbol problem
Post: RE: PyQt5 undefined symbol problem

You can see the code here https://github.com/sunfounder/SunFounder.../client.py
ujjwalrathod007 GUI 3 2,818 Aug-18-2018, 07:17 AM
    Thread: PyQt5 undefined symbol problem
Post: PyQt5 undefined symbol problem

I have a robotic car in which I use PyQt5 module. the error is Importerror: /PyQt5/QtCore.so: undefined symbol : PySlice_adjustableIndices Does anyone knows why such error is there? I searched onli...
ujjwalrathod007 GUI 3 2,818 Aug-17-2018, 10:29 PM
    Thread: Running Class methods in a loop and updating variables.
Post: RE: Running Class methods in a loop and updating v...

(Oct-03-2016, 08:26 PM)ujjwalrathod007 Wrote: I have some code for class inside which I have methods. I want to run the code which While True loop. The problem I face is with updating the variables....
ujjwalrathod007 General Coding Help 3 6,264 Oct-03-2016, 08:56 PM
    Thread: Class method returning multiple values,dont know which is returned when..
Post: RE: Class method returning multiple values,dont kn...

Thank you it has helped me. Nevertheless I have 1 new issue which I have posted maybe you can have a look.!!
ujjwalrathod007 General Coding Help 4 12,591 Oct-03-2016, 08:29 PM
    Thread: Running Class methods in a loop and updating variables.
Post: Running Class methods in a loop and updating varia...

I have some code for class inside which I have methods. I want to run the code which While True loop. The problem I face is with updating the variables. Quote:xlowrand and xhighrand. The code is as ...
ujjwalrathod007 General Coding Help 3 6,264 Oct-03-2016, 08:26 PM
    Thread: Class method returning multiple values,dont know which is returned when..
Post: RE: Class method returning multiple values,dont kn...

Hello, I am still not clear what do you mean?? I get output as following when I run it in loop Quote:returnvalue 0.0 9.0 returnvalue 0.0 7.59979666373 returnvalue 0.0 7.59979666373 returnvalue 0.0 7...
ujjwalrathod007 General Coding Help 4 12,591 Sep-29-2016, 12:20 PM
    Thread: Class method returning multiple values,dont know which is returned when..
Post: Class method returning multiple values,dont know w...

Dear all, Good morning from Germany, I have a python code in which the function returns two values. Out of which, only one value changes at a time and other remains the same. I want to find which is c...
ujjwalrathod007 General Coding Help 4 12,591 Sep-29-2016, 09:21 AM
    Thread: problem with function return value
Post: RE: problem with function return value

True, Is there any way to check weather the method has return Something or Somethingelse. Because I do this in iteration.. While true: loop. If method returns only something then I only want to updat...
ujjwalrathod007 General Coding Help 9 22,905 Sep-23-2016, 01:00 PM
    Thread: problem with function return value
Post: RE: problem with function return value

Hello, I haven’t supposed the code but I cant right the whole code because it is protected.
ujjwalrathod007 General Coding Help 9 22,905 Sep-22-2016, 03:31 PM
    Thread: problem with function return value
Post: RE: problem with function return value

sorry for that but I take an object of a class xyz as following class xyz:    def anything(self):        if condition:            if condition:                return something            else:  ...
ujjwalrathod007 General Coding Help 9 22,905 Sep-22-2016, 03:12 PM
    Thread: Multiple plots with matplotlib - looping
Post: RE: Multiple plots with matplotlib - looping

hey you can use subplots if it suits you..
ujjwalrathod007 General Coding Help 7 79,724 Sep-22-2016, 02:42 PM
    Thread: problem with function return value
Post: problem with function return value

I ave some code which looks something as follows...        class xyz:    def anything(self):        if condition:            if condition:                return something            else:      ...
ujjwalrathod007 General Coding Help 9 22,905 Sep-22-2016, 02:37 PM

User Panel Messages

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