Skip to content

Commit f5e1c46

Browse files
committed
Add the tutorials from the old site
Move the tutorial articles from the old site here.
1 parent 3bff5b6 commit f5e1c46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+551
-0
lines changed
Loading
Loading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
+++
2+
title = "2.0.2 supports .vec file"
3+
date = 2014-07-31T15:10:05+02:00
4+
updated = 2014-07-31T15:10:05+02:00
5+
draft = false
6+
template = "blog/page.html"
7+
8+
[taxonomies]
9+
authors = ["Stefan Fiel"]
10+
+++
11+
12+
In 2.0.2 (we just noticed that we are now the half of not found :)
13+
a new feature was introduced which is very useful for us
14+
and we think it may be useful for those of you who also work in the computer vision field.
15+
We are now able to load the .vec file of the OpenCV Cascade Classifier.
16+
So you can easily control if the patches you trained,
17+
or the patches [OpenCV](https://opencv.org/) created automatically are correct.
18+
Of course we have not added the .vec extension to the default settings of nomacs, because there exists a lot of other vec files.
19+
Thus, you have to add the extension to nomacs manually.
20+
You can do this by opening the “File” -> “Add Image Format”  dialog.
21+
Then you can drag&drop your file into the dialog or use the browse to the file.
22+
23+
![add-formats](add-formats.png)
24+
25+
After clicking add you have to name the new file format.
26+
After that you can open your .vec files with nomacs.
27+
28+
<img alt="img-2014-07-31 09.22.22" src="img-2014-07-31-09.22.22.png" width="100%">
29+
30+
Due to some limitations of the fileformat nomacs assumes that the patches are square
31+
and thus if you open a file containing non-square nomacs is unable to load it.
32+
If you want to use non-square patches you have to specify the size in the file name.
33+
You can do this by adding “-w\[width\]-h\[height\]”.
34+
So for example you have to name your file “samples-w35-h25.vec”.
35+
Have fun with this feature and may it simplify your training step
36+
— the nomacs team
Loading
Loading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
+++
2+
title = "Adding new file formats"
3+
date = 2014-10-01T09:15:02+02:00
4+
updated = 2014-10-01T09:15:02+02:00
5+
draft = false
6+
template = "blog/page.html"
7+
8+
[taxonomies]
9+
authors = ["Stefan Fiel"]
10+
+++
11+
12+
Since the last release we are getting more and more requests if we can support different file formats.
13+
Apparently it turned out, that we already support most of them but we have not added the file extension to our file filter.
14+
This is especially true for RAW formats of image files,
15+
we just simple don’t know all extensions of all manufacturers and we don’t have sample images from all of them for testing.
16+
17+
But there is a simple solution: you can easily try to add new files formats to nomacs.
18+
You just have to use File -> Add Image Format
19+
– this opens a dialog where you can drop (or load) your images and nomacs will tell you if the file extension is supported.
20+
If it is supported it will display the image.
21+
After adding the file format you can use our File Filter settings in the preferences dialog
22+
to set nomacs as default viewer for these images.
23+
If you have successfully added a new file format,
24+
please drop us a note in our bug tracker and we will add the extension to nomacs.
25+
If nomacs is unable to load you file format, please add a new feature request.
26+
If possible attach also the image to the request so we can test it easily.
27+
28+
Open the “Add Image Format” Dialog
29+
30+
<img alt="Open the “Add Image Format” Dialog" src="add-file-format.png" width="100%"/>
31+
32+
and drop or load your image
33+
34+
<img alt="and drop or load your image" src="add-file-format2.png" width="100%"/>
35+
36+
— the nomacs team
14.5 KB
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)