git clone https://github.com/ManivannanMurugavel/YOLO-Annotation-Tool.git
cd YOLO-Annotation-Tool
mogrify -format jpg *.JPEG
or
mogrify -format jpg *.jpeg
or
mogrify -format jpg *.png
python main.py
python convert.py
This is for create the training set of image to YOLO
License: MIT License
git clone https://github.com/ManivannanMurugavel/YOLO-Annotation-Tool.git
cd YOLO-Annotation-Tool
mogrify -format jpg *.JPEG
or
mogrify -format jpg *.jpeg
or
mogrify -format jpg *.png
python main.py
python convert.py
Help please...
$ python main.py
File "main.py", line 138
print 'No .jpg images found in the specified dir!'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('No .jpg images found in the specified dir!')?
Hi,
I am trying to detect number plate region given a car. The detailed problem has been described here**(as it is too lengthy)**. Please look into it and any help is very much appreciated.
I have followed https://medium.com/@manivannan_data/how-to-train-yolov2-to-detect-custom-objects-9010df784f36 to train data
Between my images are around 100*32(different images, different sizes) having only number plates and I didn't do any resizing. I think YOLO will resize that. Is it true??
Link attached here for detailed description
https://medium.com/@namburisrinath/hey-hi-80660945331b
If any further clarifications/doubts are there, please do ask.
Thanks in advance
Srinath
Have anyone faced this error?
Hi, I am facing these errors while running convert.py , I have 1100 images and their corresponding .txt files, but it only convert just one picture.
(yolo) asad@asad-Z370P-D3:~/YOLO-Annotation-Tool$ python convert.py
Input:./Labels/001/00923.txt
Output:./Labels/output/00923.txt
1
370 131 553 270
['1\n370', '131', '553', '270\n']
1
370
(1024, 576)
Traceback (most recent call last):
File "convert.py", line 89, in
print(float(xmin), float(xmax), float(ymin), float(ymax))
ValueError: invalid literal for float(): 1
370
After running the command "python process.py" in terminal, only " train.txt " is getting filled up with data but " test.txt " remains empty.
can't solve the issue
OS: Ubuntu 18.04
I still clone this repository. When i want to run "python main.py".
But, i have some issues like that :
Traceback (most recent call last):
File "main.py", line 12, in
from PIL import Image, ImageTk
ImportError: No module named PIL
anyone can help me about this problem? thank you
I'm trying to train my own data on the Yolo network, but before that I have to convert the bounding boxes co-ordinates to the form it wants.
and i get the error: first it prints out all the file names and the content of the data then
1
29 45 615 251
['1\n29', '45', '615', '251\n']
1
29
(803, 624)
Traceback (most recent call last):
File "convert.py", line 96, in
print(float(xmin), float(xmax), float(ymin), float(ymax))
ValueError: invalid literal for float(): 1
29
I need help please. I don't know what to do
I have images with those size 1944, 2592. which part of the code should I modify for displaying the whole image?
thanks in advance.
I tried to convert jpg images to path text, but percentage value did not match correct value.
I get 263 image path in test.txt , that should be 163 because i have 2639 (images) * 10 /100 =163
What goes wrong in this code?
import glob, os current_dir = os.path.dirname(os.path.abspath(__file__)) print(current_dir) current_dir = r'C:\Users\Abdou\darknet\build\darknet\x64\data\obj' percentage_test = 10; file_train = open('train.txt', 'w') file_test = open('test.txt', 'w') counter = 1 index_test = round(100 / percentage_test) for pathAndFilename in glob.iglob(os.path.join(current_dir, "*.jpg")): title, ext = os.path.splitext(os.path.basename(pathAndFilename)) if counter == index_test: counter = 1 file_test.write(current_dir + "/" + title + '.jpg' + "\n") else: file_train.write(current_dir + "/" + title + '.jpg' + "\n") counter = counter + 1
When I am trying to convert, I get an error:
['152', '59', '220', '155']
152
(449, 334)
(152.0, 220.0, 59.0, 155.0)
(0.4142538975501113, 0.3203592814371258, 0.1514476614699332, 0.28742514970059885)
Input:./Labels/002/img_38.txt
Output:./Labels/output/img_38.txt
12
['12']
Traceback (most recent call last):
File "convert.py", line 70, in <module>
xmax = elems[2]
IndexError: list index out of range
File img_38.txt content:
12
8 119 74 211
85 43 125 96
148 63 199 118
280 107 383 238
235 59 263 96
375 82 430 159
285 61 309 92
329 24 355 59
311 29 327 50
277 26 303 52
392 34 413 53
364 9 386 36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.