Posts by marcelim122 • 21 points
4 posts
-
0
votes0
answers27
viewsQ: Python Inverted Index
Problem: I need to create a Dictionary of inverted indexes where I should tokenize the string, remove the stopwords and extract the word root (stemmer) all using the nltk package. The output of the…
python-3.xasked marcelim122 21 -
0
votes1
answer559
viewsQ: Convert BGR to RGB (Opencv)
I have a code that finds the edges around what was labeled in the image and places the value of -1 in the pixels of that border found. I’m having trouble converting the image already with the edges…
-
0
votes1
answer292
viewsQ: Edge -1 using erode and dilate (Python)
I’m having difficulty creating an edge with -1 pixels around what was labeled in the image. Where 255 is what has been labeled and around this area of 255 I want to put -1 which will be an edge to…
-
0
votes1
answer110
viewsQ: How to create a CSV file with the pixel values of an image
I’m having trouble getting the data from the pixels of an image and write to a CSV file, follow the current code. The error is in the .writerow, however I cannot identify how to change to work.…