Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~10K People Reached
Favorite Forums
Favorite Tags
Member Avatar for varshaholla

Hey,I wanted to know how to read a .txt file and the output should be in .xml format. I have the input file as input1.txt ![0376d295e822f9bd4db190cdd215e996](/attachments/large/4/0376d295e822f9bd4db190cdd215e996.png "0376d295e822f9bd4db190cdd215e996") My code: from lxml import etree import csv root = etree.Element('data') #f = open('input1.txt','rb') rdr = csv.reader(open("input1.txt",newline='\n')) header = next(rdr) for row in …

Member Avatar for Gribouillis
0
341
Member Avatar for varshaholla

how to subtract the background in an image. i need only the object and the background should not be present. is it possible to get only the object? Any suggestions are welcome!

Member Avatar for varshaholla
0
113
Member Avatar for varshaholla

I want to do exactly how these search engines do, ![52ec8527edb271dac9465a607d37b068](/attachments/large/4/52ec8527edb271dac9465a607d37b068.png "52ec8527edb271dac9465a607d37b068") But I want to show the same thing using pop-up message, where there shouldn't be any buttons, and it should display the message continiously Thanks in advance!

Member Avatar for varshaholla
0
532
Member Avatar for varshaholla

I'm working on images and its working fine when code is out of function, and gives error when code is inside the function. My code is: def matching_image(): i = 0 resultlist_key = [] result_list = list() a_list = list() b_list = list() a_list.append(feature_matrix_ip)# feature_matrix_ip contains features of the query …

Member Avatar for varshaholla
0
5K
Member Avatar for varshaholla

I have two functions declared in my program, and i want to use the variables in another function to display the matched images. My code is: def messageWindow(): win = Toplevel() path = 'C:\Users\HP\Desktop\dataset' COLUMNS = 12 image_count = 0 for infile in glob.glob(os.path.join(path, '*.jpg')): image_count += 1 r, c …

Member Avatar for woooee
0
463
Member Avatar for varshaholla

I wanted to display the blue mean value in the text box, but it is giving me an error blue.set(B_mean1) AttributeError: 'numpy.ndarray' object has no attribute 'set' And this is my code: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR …

Member Avatar for woooee
0
3K
Member Avatar for varshaholla

i'm taking the image from the user, and displaying it using label. Now i have to use that image for further processing. my code is: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR import * from experiment import * from …

Member Avatar for vegaseat
0
885
Member Avatar for varshaholla

hello, i want to know whether i can display an image from the path i have selected? like, i have a path for example: c:\user\desktop\33.jpg, and i want to take only that jpg file and i have to display that image using label or something. If it is possible, i …

Member Avatar for varshaholla
0
329