<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Activity for dlib C++ Library</title><link>https://sourceforge.net/p/dclib/activity/</link><description>Recent activity for dlib C++ Library</description><language>en</language><lastBuildDate>Wed, 28 May 2025 00:54:50 -0000</lastBuildDate><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2025/05/dlib-c-library-200-released/</link><description>dlib C++ Library: 20.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 28 May 2025 00:54:50 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2025/05/dlib-c-library-200-released/</guid></item><item><title>dlib C++ Library released /dlib/v20.0/dlib-20.0.zip</title><link>https://sourceforge.net/projects/dclib/files/dlib/v20.0/dlib-20.0.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Wed, 28 May 2025 00:54:04 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v20.0/dlib-20.0.zip/download</guid></item><item><title>dlib C++ Library released /dlib/v20.0/dlib-20.0.tar.bz2</title><link>https://sourceforge.net/projects/dclib/files/dlib/v20.0/dlib-20.0.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Wed, 28 May 2025 00:54:04 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v20.0/dlib-20.0.tar.bz2/download</guid></item><item><title>william john posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/e34064c2/?limit=25#133f</link><description>I diligently followed every step outlined in the documentation, just as I've done with older versions of dlib without encountering any issues with this link</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">william john</dc:creator><pubDate>Fri, 19 Apr 2024 03:05:33 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/e34064c2/?limit=25#133f</guid></item><item><title>Balázs Bámer posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68/cb66/8764</link><description>That was also my guess. It is happening already on the first few function evaluations. Thank you.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Balázs Bámer</dc:creator><pubDate>Mon, 29 Jan 2024 07:33:24 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68/cb66/8764</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68/cb66</link><description>Na that shouldn't be happening. You should see each dimension changing in value unless it's been running long enough to figure out that those are the only legit values. That would also though require the bounds you set to be tight enough to bottle it up into that area. Or there is just a bug in your code. On Sat, Jan 27, 2024 at 2:29 PM Balázs Bámer kolaloka@users.sourceforge.net wrote: Hi All, I have a problem using find_max_global. I'm using a search space with a dimension of 9, and as the optimizer...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sun, 28 Jan 2024 17:39:08 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68/cb66</guid></item><item><title>Balázs Bámer posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68</link><description>Hi All, I have a problem using find_max_global. I'm using a search space with a dimension of 9, and as the optimizer is exploring the search space, the last 4 dimension values are always the same. Can this be normal? Thank you in advance. Best regards: Balazs</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Balázs Bámer</dc:creator><pubDate>Sat, 27 Jan 2024 19:29:45 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/58a85c0bce/?limit=25#de68</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/eb0e15badb/?limit=25#c84e/9b44</link><description>Aside from making sure compiler optimizations are on, use smaller images. See also http://dlib.net/faq.html#Whyisdlibslow On Thu, Nov 16, 2023 at 6:33 AM Nikhil B bwajster@users.sourceforge.net wrote: The code below only runs at 1-2FPS. Need help making the necessary changes to improve the frame rate to about 10fps. The code is implemented on the jetson nano. ~~~ import face_recognition import cv2 import os import dlib import pickle import time print(cv2.version) fpsReport=0 scaleFactor=.25 Encodings=[]...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sun, 19 Nov 2023 23:48:39 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/eb0e15badb/?limit=25#c84e/9b44</guid></item><item><title>Nikhil B posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/eb0e15badb/?limit=25#c84e</link><description>The code below only runs at 1-2FPS. Need help making the necessary changes to improve the frame rate to about 10fps. The code is implemented on the jetson nano. import face_recognition import cv2 import os import dlib import pickle import time print(cv2.__version__) fpsReport=0 scaleFactor=.25 Encodings=[] Names=[] with open('train.pkl','rb') as f: Names=pickle.load(f) Encodings=pickle.load(f) font=cv2.FONT_HERSHEY_SIMPLEX cam=cv2.VideoCapture(0) timeStamp=time.time() while True: _,frame=cam.read()...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nikhil B</dc:creator><pubDate>Thu, 16 Nov 2023 11:33:04 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/eb0e15badb/?limit=25#c84e</guid></item><item><title>jiapei100 posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/5492751089/?limit=100#2eff</link><description>Successfully built DLib-19.24 with C++11, but failed with C++14, and C++17 also failed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jiapei100</dc:creator><pubDate>Sat, 08 Jul 2023 05:17:24 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/5492751089/?limit=100#2eff</guid></item><item><title>Arsene Kouto posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/d5a6f2fc44/?limit=25#4b6f</link><description>Guten Tag, Ich versuche gerade ein Programm für 3D Gesicht Modellierung zu erstellen. Für die Enplementierung in C++ verwende ich Dlib. Da es sich um ein PRnet Programm habe ich das Problem, dass ich keine Prnet Quelle in der Dlib Bibliothek finde. Ich habe in Internet folgende Quelle gefunden: include &lt;dlib image_processing="" prnet.h=""&gt;&lt;/dlib&gt; aber dies wird von der Bibliothek nicht erkannt. Haben Sie vielleicht eine Ahnung wie ich hier vorgehen kann? Viele Grüße Arsene</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arsene Kouto</dc:creator><pubDate>Tue, 04 Apr 2023 08:44:34 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/d5a6f2fc44/?limit=25#4b6f</guid></item><item><title>Andrey Isaev modified a wiki page</title><link>https://sourceforge.net/p/dclib/wiki/Known_users/</link><description>Known_users</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Isaev</dc:creator><pubDate>Sun, 11 Sep 2022 10:10:56 -0000</pubDate><guid>https://sourceforge.net/p/dclib/wiki/Known_users/</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/13474a0e20/?limit=25#ce52/04be</link><description>I just tried a bunch of values and found some that worked :) On Fri, Aug 5, 2022 at 1:14 AM John Puskin johnpuskin@users.sourceforge.net wrote: Hi Davis. I wonder how do you determine distance as 0.6, margin as 0.04 and dimension as 128 in face recognition? What do you think about for dimension 32, setting distance as 0.3 and margin as 0.02? Thank you for your valuable dlib library. About Margin, Distance and Dimension of Face Recognition Sent from sourceforge.net because you indicated interest in...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Tue, 09 Aug 2022 13:13:42 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/13474a0e20/?limit=25#ce52/04be</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/13474a0e20/?limit=25#ce52</link><description>Hi Davis. I wonder how do you determine distance as 0.6, margin as 0.04 and dimension as 128 in face recognition? What do you think about for dimension 32, setting distance as 0.3 and margin as 0.02? Thank you for your valuable dlib library.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Fri, 05 Aug 2022 05:14:43 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/13474a0e20/?limit=25#ce52</guid></item><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2022/05/dlib-c-library-1924-released/</link><description>dlib C++ Library: 19.24 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sun, 08 May 2022 14:44:44 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2022/05/dlib-c-library-1924-released/</guid></item><item><title>dlib C++ Library released /dlib/v19.24/dlib-19.24.zip</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.24/dlib-19.24.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 08 May 2022 14:44:03 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.24/dlib-19.24.zip/download</guid></item><item><title>dlib C++ Library released /dlib/v19.24/dlib-19.24.tar.bz2</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.24/dlib-19.24.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 08 May 2022 14:44:03 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.24/dlib-19.24.tar.bz2/download</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#c95f/6d10</link><description>http://dlib.net/faq.html#HowdoIsetthesizeofamatrixatruntime On Fri, Feb 4, 2022 at 2:35 AM "Kovács János" kovatsjanos@users.sourceforge.net wrote: Hello! I'm stucked with my work. I'm new to dlib. My questions concern (Q1.) the usage of dlib datastructures. My task is to perform spectral_clustering. I studied: http://dlib.net/kkmeans_ex.cpp.html. (Q2.) I have to separate training from the classification. Question 1 1 //In MyClass.cpp 2 void doTrain(size_t pClusterN, size_t pNR, size_t pNC, float...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Fri, 04 Feb 2022 13:59:07 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#c95f/6d10</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#15ed</link><description>See http://dlib.net/faq.html#HowdoIsetthesizeofamatrixatruntime</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Fri, 04 Feb 2022 13:34:14 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#15ed</guid></item><item><title>Kovács János posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#c95f</link><description>Hello! I'm stucked with my work. I'm new to dlib. My questions concern (Q1.) the usage of dlib datastructures. My task is to perform spectral_clustering. I studied: http://dlib.net/kkmeans_ex.cpp.html. (Q2.) I have to separate training from the classification. Question 1 1 //In MyClass.cpp 2 void doTrain(size_t pClusterN, size_t pNR, size_t pNC, float pData) 3 { 4 //pData is a matrix flattened to a single row. pData is of pNRxpNC length. 5 6 using sampletype = matrix&lt;float, ?,="" ?=""&gt;; // 1row x...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kovács János</dc:creator><pubDate>Fri, 04 Feb 2022 07:35:35 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/90532dd410/?limit=25#c95f</guid></item><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2022/01/dlib-c-library-1923-released/</link><description>dlib C++ Library: 19.23 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Tue, 25 Jan 2022 03:34:49 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2022/01/dlib-c-library-1923-released/</guid></item><item><title>dlib C++ Library released /dlib/v19.23/dlib-19.23.tar.bz2</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.23/dlib-19.23.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Tue, 25 Jan 2022 03:34:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.23/dlib-19.23.tar.bz2/download</guid></item><item><title>dlib C++ Library released /dlib/v19.23/dlib-19.23.zip</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.23/dlib-19.23.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Tue, 25 Jan 2022 03:34:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.23/dlib-19.23.zip/download</guid></item><item><title>Jaroslaw Syrek posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/c179f02e81/?limit=25#7e61</link><description>Hi Mr. Davis. I trained three separate detectors based on your example : http://dlib.net/dnn_mmod_train_find_cars_ex.cpp.html As a result I got three ".dat" files, Each detect one type of object. front.dat , rear.dat , side.dat Is it possibile to "merge" those 3 files and load into "dnn_mmod_find_cars2_ex.cpp" example ? thank you</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaroslaw Syrek</dc:creator><pubDate>Thu, 02 Dec 2021 09:35:22 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/c179f02e81/?limit=25#7e61</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/9ed64f64d4/?limit=25#510f/3410</link><description>Yeah find_min_box_constrained is what you want. On Mon, Nov 22, 2021 at 12:43 PM Gordon N. gordonn@users.sourceforge.net wrote: I have a non linear equation with one free parameter to solve. Is there a possibility in dlib to set a constraint on that parameter because the equation contains some logarithms and must not be smaller or equal to zero. My first guess is to use dlib::find_min_box_constrained with a lbfgs_search_strategy where the functional is the squared difference from the target result....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 24 Nov 2021 14:51:58 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/9ed64f64d4/?limit=25#510f/3410</guid></item><item><title>Gordon N. posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/9ed64f64d4/?limit=25#510f</link><description>I have a non linear equation with one free parameter to solve. Is there a possibility in dlib to set a constraint on that parameter because the equation contains some logarithms and must not be smaller or equal to zero. My first guess is to use dlib::find_min_box_constrained with a lbfgs_search_strategy where the functional is the squared difference from the target result.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gordon N.</dc:creator><pubDate>Mon, 22 Nov 2021 17:43:32 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/9ed64f64d4/?limit=25#510f</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#0672</link><description>Thanx for your answer. If you consider adding integer quantization or even if float16 support to dlib DNN modules, it will give us superior performance. Otherwise, becuase of speed requirements, even I hate, I have to use "pseudo-open source" python based DNN platforms.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Sat, 03 Jul 2021 07:38:20 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#0672</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#a3f5/fec6</link><description>No, it's all 32bit everywhere right now.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sat, 26 Jun 2021 20:56:10 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#a3f5/fec6</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#a3f5</link><description>As far as I know, dlib dnn model weights employ float-32 bits and there is no ready-to-use dnn model weight quantization C++ code. However, I think that if we use float-16, we make inference faster. Is there an easy way to force dlib dnn models to use 16-bit floating numbers?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 10 Jun 2021 15:44:02 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/a09252b222/?limit=25#a3f5</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/193d0b5fe2/?limit=25#8294/38bb</link><description>Yeah, that's all correct. There are lots of ways to do it, simplest is probably what you suggested of using imglab to just prerotate by a big value. On Thu, May 27, 2021 at 4:16 AM John Puskin johnpuskin@users.sourceforge.net wrote: mmod automatically determines the detector window's sizes by analyzing the dataset without considering the cropper rotation angle. However if I set cropper rotation angle a high value, (e.g. cropper.set_max_rotation_degrees(90) ) dataset will dramatically change and previous...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Mon, 07 Jun 2021 06:08:11 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/193d0b5fe2/?limit=25#8294/38bb</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/193d0b5fe2/?limit=25#8294</link><description>mmod automatically determines the detector window's sizes by analyzing the dataset without considering the cropper rotation angle. However if I set cropper rotation angle a high value, (e.g. cropper.set_max_rotation_degrees(90) ) dataset will dramatically change and previous "detector window's sizes" might not suffice. Do I miss something? How can I handle highly rotated and cropped dataset? Rather than setting a high value for cropper angle, should I manually rotate the dataset? (e.g. "imglab --rotate...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 27 May 2021 08:16:17 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/193d0b5fe2/?limit=25#8294</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d/fd4a</link><description>It really depends. It's fundamentally easier to train separate models most of the time since you can tweak and adjust them separately. E.g. you can adjust detector A without any possibility of messing up detector B. At the same time, if you put some effort in you can usually make one single model that does multiple things at much less overall computational cost. On Mon, May 24, 2021 at 3:29 AM John Puskin johnpuskin@users.sourceforge.net wrote: Hi Davis. Which one is the best strategy for multi-object...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 26 May 2021 02:31:08 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d/fd4a</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d</link><description>Hi Davis. Which one is the best strategy for multiclass-object detection? 1. Train separate classifier for each object type 2. Train one classifier with different labels as in "dnn_mmod_find_cars2_ex.cpp"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Mon, 24 May 2021 07:34:09 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d</link><description>Hi Davis. Which one is the best strategy for multi-object detection? 1. Train separate classifier for each object 2. Train one classifier with different labels as in "dnn_mmod_find_cars2_ex.cpp"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Mon, 24 May 2021 07:29:30 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/eaf4f167e7/?limit=25#fa0d</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#6a63</link><description>I got accuracy &gt; 90% . Thanx a lot.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Wed, 19 May 2021 10:03:18 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#6a63</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#aeca/1a6a</link><description>Try training a linear SVM on top of it and see if it works. Might be ok.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Fri, 30 Apr 2021 12:20:02 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#aeca/1a6a</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#aeca</link><description>Dear Davis, I plan to use your 128 dimensional face recognition representation for beard detection. Any suggestion?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 29 Apr 2021 22:46:22 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/3a8c6b87e0/?limit=25#aeca</guid></item><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2021/03/dlib-c-library-1922-released/</link><description>dlib C++ Library: 19.22 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sun, 28 Mar 2021 13:29:10 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2021/03/dlib-c-library-1922-released/</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22.tar.bz2</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22.tar.bz2/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22.zip</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22.zip/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22/dlib/reference_counter.h</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/reference_counter.h/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/reference_counter.h/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22/dlib/image_keypoint/fine_hog_image.h</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/image_keypoint/fine_hog_image.h/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/image_keypoint/fine_hog_image.h/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22/LICENSE.txt</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/LICENSE.txt/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/LICENSE.txt/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22/dlib/smart_pointers_thread_safe.h</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/smart_pointers_thread_safe.h/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/dlib/smart_pointers_thread_safe.h/download</guid></item><item><title>dlib C++ Library released /dlib/v19.22/dlib-19.22/MANIFEST.in</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/MANIFEST.in/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sun, 28 Mar 2021 13:28:02 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.22/dlib-19.22/MANIFEST.in/download</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/e0d1095ec2/?limit=25#15bf</link><description>For Windows 7. and above; 1. How can I set resizable=False for image_window? 2. How can I set an instance of "image_window "always on top" ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 11 Mar 2021 22:51:39 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/e0d1095ec2/?limit=25#15bf</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 11 Mar 2021 12:24:11 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</link><description>Hi. I compiled Opencv as defined in https://learnopencv.com/install-opencv-4-on-windows/ Shortly: related Cmake rows for OpenCV shown below. cmake -G "Visual Studio 16 2019" -T host=x64 -DBUILD_SHARED_LIBS=OFF [... other stuff] cmake.exe --build . --config Release --target INSTALL Up to now, everything is alright but when considering dlib, I don't compile dlib's webcam_face_pose_ex.cpp. I got the following errors shown below. Would you please help me? error LNK2038: mismatch detected for 'RuntimeLibrary':...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 11 Mar 2021 11:06:16 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</link><description>Hi. I compiled Opencv as defined in https://learnopencv.com/install-opencv-4-on-windows/ Shortly: related Cmake rows for OpenCV shown below. 1. cmake -G "Visual Studio 16 2019" -T host=x64 -DBUILD_SHARED_LIBS=OFF [... other stuff] 4. cmake.exe --build . --config Release --target INSTALL Up to now, everything is alright but when considering dlib, I don't compile dlib's webcam_face_pose_ex.cpp. I got the following errors shown below. Would you please help me? error LNK2038: mismatch detected for 'RuntimeLibrary':...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 11 Mar 2021 11:04:52 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</link><description>Hi. I compiled Opencv as defined in https://learnopencv.com/install-opencv-4-on-windows/ Shortly: related Cmake rows for OpenCV shown below. 1. cmake -G "Visual Studio 16 2019" -T host=x64 -DBUILD_SHARED_LIBS=OFF [... your stuff] 2. cmake.exe --build . --config Release --target INSTALL Up to now, everything is alright but when considering dlib, I don't compile dlib's webcam_face_pose_ex.cpp. I got the following errors shown below. Would you please help me? error LNK2038: mismatch detected for 'RuntimeLibrary':...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Thu, 11 Mar 2021 11:03:42 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/bc7e9e2adc/?limit=25#3ff3</guid></item><item><title>aero dactyl posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/84eba80c/?limit=25#58b3</link><description>Hi Davis, I have used the PInvoke method , and i wanted to get the image_window to be accessed in the c# project or is there any way to get all the data related to ( std::vector&lt;dlib::rectangle&gt; dets = detector(img); std::vector&lt;full_object_detection&gt; shapes; ) to c# project?&lt;/full_object_detection&gt;&lt;/dlib::rectangle&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aero dactyl</dc:creator><pubDate>Tue, 05 Jan 2021 07:06:59 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/84eba80c/?limit=25#58b3</guid></item><item><title>aero dactyl created ticket #25</title><link>https://sourceforge.net/p/dclib/bugs/25/</link><description>Alternative of Image_window in dlib?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aero dactyl</dc:creator><pubDate>Mon, 04 Jan 2021 11:31:14 -0000</pubDate><guid>https://sourceforge.net/p/dclib/bugs/25/</guid></item><item><title>aero dactyl posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/c657aba2b2/?limit=25#cf7d</link><description>Hey Davis, I am getting the error,. I have used openCV and it's working fine, but when ever I am using the dlib in my header file and getting same error as Note : I am using CLR instead of swig to connect c# and c++ project. ": &lt;conditionvariable&gt;, &lt;future&gt;, &lt;mutex&gt; and &lt;thread&gt; not being supported in /clr or /clr:pure."&lt;/thread&gt;&lt;/mutex&gt;&lt;/future&gt;&lt;/conditionvariable&gt; Can you please suggest some way to get rid of these errors :) @davisking</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aero dactyl</dc:creator><pubDate>Mon, 28 Dec 2020 06:53:46 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/c657aba2b2/?limit=25#cf7d</guid></item><item><title>aero dactyl posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/84eba80c/?limit=25#cb38/8097</link><description>Hey Davis, Even I am getting the same error,. I have used openCV and it's working fine, but when ever I am using the dlib in my header file and getting same error as mentioned by Dane : "about &lt;conditionvariable&gt;, &lt;future&gt;, &lt;mutex&gt; and &lt;thread&gt; not being supported in /clr or /clr:pure."&lt;/thread&gt;&lt;/mutex&gt;&lt;/future&gt;&lt;/conditionvariable&gt; Can you please suggest some way to get rid of these errors :) @davisking</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aero dactyl</dc:creator><pubDate>Wed, 23 Dec 2020 07:29:22 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/84eba80c/?limit=25#cb38/8097</guid></item><item><title>bsnacks000 posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#95b6</link><description>Thanks Davis, I will have a look at krr.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bsnacks000</dc:creator><pubDate>Tue, 01 Dec 2020 15:07:13 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#95b6</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#74dd/f5da</link><description>You should give one of the regression methods in dlib a try before rolling your own solution. http://dlib.net/ml.html#krr_trainer is a good general method for this kind of thing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sun, 29 Nov 2020 19:44:33 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#74dd/f5da</guid></item><item><title>bsnacks000 posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#74dd</link><description>Hi Davis, I was experimenting with trying to fit a piecewise function with solve_least_squares where I am looking for both coefficients of the line and the changepoint itself. The code below is modified from your example. #include &lt;dlib/optimization.h&gt; #include &lt;vector&gt; #include &lt;iostream&gt; #include &lt;array&gt; typedef dlib::matrix&lt;double, 1,1&gt; InputVector ; typedef dlib::matrix&lt;double, 3,1&gt; ParameterVector; // an example changepoint function with a breakpoint in a single dimension double model (const...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bsnacks000</dc:creator><pubDate>Thu, 26 Nov 2020 15:31:26 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/96f3bdfc6d/?limit=25#74dd</guid></item><item><title>Dave posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#1263</link><description>OK. I see it now: this_layer_setup_called is being tracked and used to call setup if needed. So it looks like copying the layer details doesn't copy everything for the layer. But at least I've got an easy work around for now. Thanks, Dave</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Wed, 18 Nov 2020 23:53:32 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#1263</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#71df/e95d</link><description>This is expected. The first time you run a network it will call the .setup() function on each layer. Although if you copied the whole layer state you would copy over the flag that says setup was already run. But if you copy only some subset of a layer's state, like only the parameter tensor, then this is an expected outcome. On Mon, Nov 16, 2020 at 5:35 PM Dave dremerso@users.sourceforge.net wrote: Davis, I've noticed an odd behavior after copying network weights from one network to another. This...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 18 Nov 2020 14:29:51 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#71df/e95d</guid></item><item><title>Dave posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#71df</link><description>Davis, I've noticed an odd behavior after copying network weights from one network to another. This might just be my own ignorance on how the network is working when data first runs through a network. Here's what I'm doing: I'm playing around with a simple autoencoder and I want to separate the original network into its encoder/decoder set and work with each half independently Original Net: layer&lt;0&gt; loss_mean_squared_multioutput layer&lt;1&gt; fc (num_outputs=2048) learning_rate_mult=1 weight_decay_mult=1...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Mon, 16 Nov 2020 22:35:18 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/c537eeeab8/?limit=25#71df</guid></item><item><title>Shimon Doodkin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/5463a39ba7/?limit=25#3b0a</link><description>I would like to do online continuous training, and not to do retraining on the whole dataset each time a little more data arrives. I am coding in c++. I need random forest regression. conceptually similar to: rf = RandomForestClassifier(n_estimators=500, criterion='entropy', random_state=42) //new data arives rf.fit(X_train, y_train) rf.predict(X_input) //new data arives rf.fit(X_train, y_train) rf.predict(X_input) ... here is a sample code #include &lt;fstream&gt; #include &lt;string&gt; #include &lt;vector&gt; #include...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shimon Doodkin</dc:creator><pubDate>Fri, 09 Oct 2020 00:15:32 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/5463a39ba7/?limit=25#3b0a</guid></item><item><title>Chan Kim posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/7fe3dfac9c/?limit=25#a1c8</link><description>I followed the default build method for examples.(c++ programs). When I run dnn_face_recognition_ex faces/bald_guys.jpg, I see the faces are all blue. I don't know why this is happening. I know open-cv uses bgr color format (if we open it with opencv, but why is there this color problem when the given example uses only dlib/image_io? I guess this is happening only to me. I this this doesn't matter but I used this build method(from examples directory). mkdir build cd build cmake .. -DDLIB_USE_CUDA=1...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chan Kim</dc:creator><pubDate>Tue, 06 Oct 2020 12:08:49 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/7fe3dfac9c/?limit=25#a1c8</guid></item><item><title>flaviu posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b943</link><description>I have solved, if anyone has the same problem, just write me here.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">flaviu</dc:creator><pubDate>Fri, 21 Aug 2020 14:41:20 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b943</guid></item><item><title>flaviu modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b1d3</link><description>I generated with CMake a VS2017 solution for dlib example: D:\Project\dlib-19.21\examples\dlib_build I have generated the solution with following settings: Visual Studio 2017 (v141), Windows SDK Version 10.0.17134.0 See attached image. Generated solution file, with a note, I didn't installed OpenCV. And when I compiled the examples.sln file, I got two errors: 1&gt;------ Build started: Project: dnn_imagenet_train_ex, Configuration: Debug x64 ------ 2&gt;------ Build started: Project: dnn_semantic_segmentation_train_ex,...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">flaviu</dc:creator><pubDate>Tue, 18 Aug 2020 14:18:21 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b1d3</guid></item><item><title>flaviu posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b1d3</link><description>I generated with CMake a VS2017 solution for dlib example: D:\Project\dlib-19.21\examples\dlib_build I have generated the solution with following settings: Visual Studio 15 2017, playtform x64, no arguments. See attached image. Generated solution file, with a note, I didn't installed OpenCV. And when I compiled the examples.sln file, I got two errors: 1&gt;------ Build started: Project: dnn_imagenet_train_ex, Configuration: Debug x64 ------ 2&gt;------ Build started: Project: dnn_semantic_segmentation_train_ex,...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">flaviu</dc:creator><pubDate>Tue, 18 Aug 2020 14:14:05 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ada5ce3979/?limit=25#b1d3</guid></item><item><title>Matt Daley posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#77ca</link><description>Thanks for the reply. What you suggest sounds reasonable. I shall try that.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Daley</dc:creator><pubDate>Thu, 13 Aug 2020 14:44:34 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#77ca</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#c519/943b</link><description>You can call sum_rows(m)/m.nr() If you want to run a column wize function on a matrix I think the simplest and most reasonable way is to just write a for loop. A function that applied a lambda would just be a function with a for loop that called the lambda. On Wed, Aug 12, 2020 at 7:34 AM Matt Daley mbdaley@users.sourceforge.net wrote: Hello, bit of a newbie here I'm afraid! I have a matrix. I want to calculate the mean of each column and place these values into a vector. Is there a standard, simple...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Thu, 13 Aug 2020 13:09:27 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#c519/943b</guid></item><item><title>Matt Daley posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#c519</link><description>Hello, bit of a newbie here I'm afraid! I have a matrix. I want to calculate the mean of each column and place these values into a vector. Is there a standard, simple way to do this? In fact, is there a way, generally, to run a function column-wise on a matrix? For example using Eigen I can calculate the mean of each column of MatrixXd m using this: VectorXd means = m.colwise().mean(); Also, mean() can be replaced by other functions that operate on a vector and return a single value. I'd love there...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Daley</dc:creator><pubDate>Wed, 12 Aug 2020 11:34:53 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/e32f10f5fb/?limit=25#c519</guid></item><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2020/08/dlib-c-library-1921-released/</link><description>dlib C++ Library: 19.21 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sat, 08 Aug 2020 19:42:44 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2020/08/dlib-c-library-1921-released/</guid></item><item><title>dlib C++ Library released /dlib/v19.21/dlib-19.21.tar.bz2</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.21/dlib-19.21.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sat, 08 Aug 2020 19:40:03 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.21/dlib-19.21.tar.bz2/download</guid></item><item><title>dlib C++ Library released /dlib/v19.21/dlib-19.21.zip</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.21/dlib-19.21.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sat, 08 Aug 2020 19:40:03 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.21/dlib-19.21.zip/download</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965/09fd</link><description>It's ok so long as your network has the capacity and resolution to localize things that small. For instance, if the stride of the final layer is 40 pixels then it's definitely not going to be able to work, as it simply won't be able to place boxes on many possible locations. So long as you make the stride small enough (e.g. by not doing too much max pooling or other downsampling, or by upsampling appropriately) you will be fine.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Fri, 03 Jul 2020 20:04:25 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965/09fd</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</link><description>Hi Davis, dnn_mmod_ex.cpp and underlying theory is a wonderful tool and it really works. I want to ask some details. All my training &amp;testing sample boxes' widht&amp;height&gt;120 but I want to detect smaller object with size 40x40. Thus I set mmod_options options(boxes_train, 40, 40); and cropper.set_min_object_size(40,40); , cropper.set_chip_dims(300, 300); Is it Ok? How the training box size is related to mmod_options? What is the ideal size of mmod_options &amp; cropper.set_mins in regarding with training...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Mon, 29 Jun 2020 21:57:14 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</guid></item><item><title>John Puskin modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</link><description>Hi Davis, dnn_mmod_ex.cpp and underlying theory is a wonderful tool and it really works. I want to ask some details. All my training &amp;testing sample boxes' widht&amp;height&gt;120 but I want to detect smaller object with size 40x40. Thus I set mmod_options options(boxes_train, 40, 40); and cropper.set_min_object_size(40,40); , cropper.set_chip_dims(300, 300); Is it Ok? How the training box size is related to mmod_options? What is the ideal size of mmod_options &amp; cropper.set_mins in comparing with training...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Mon, 29 Jun 2020 18:37:47 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</link><description>Hi Davis, dnn_mmod_ex.cpp and underlying theory is a wonderful tool and it really works. I want to ask some details. All my training &amp;testing sample boxes' widht&amp;height&gt;120 but I want to detect smaller object with size 40x40. Thus I set mmod_options options(boxes_train, 40, 40); and cropper.set_min_object_size(40,40); , cropper.set_chip_dims(300, 300); Is it Ok?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Mon, 29 Jun 2020 18:31:04 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#d965</guid></item><item><title>Pranav posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/45f04c6962/?limit=250#b9f0</link><description>Hi all, I am trying to train a custom object detector to detect small icons in images. I am getting the impossible boxes error. (dl4cv) pranav@machinelearning:~/networkArchitectureReader$ python train_detector.py -x networkIcons.xml --detector ./icons.svm [INFO] training detector... Training with C: 1 Training with epsilon: 0.01 Training using 4 threads. Training with sliding window 82 pixels wide by 78 pixels tall. Upsample images... Upsample images... Traceback (most recent call last): File "train_detector.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pranav</dc:creator><pubDate>Sat, 27 Jun 2020 03:01:48 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/45f04c6962/?limit=250#b9f0</guid></item><item><title>Pranav posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/45f04c6962/?limit=250#bcf1</link><description>Hi all, I need to train a custom object detector to detect a number of small icons in an image. When I run the training session, I get the following error. RuntimeError: Error! An impossible set of object boxes was given for training. All the boxes need to have a similar aspect ratio and also not be smaller than about 400 pixels in area. The following images contain invalid boxes: When dlib says 400 pixels, does it mean in length or width? Should I make everything 400 by 400 pixels? See the below...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pranav</dc:creator><pubDate>Fri, 26 Jun 2020 18:59:50 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/45f04c6962/?limit=250#bcf1</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#ccdb/ab52</link><description>Yeah you should switch to affine layers when you are going to use it for real. But in that particular example, it feeds only one image at a time to the network. The bn_con layer automatically runs in affine mode when given just one element at a time.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Fri, 19 Jun 2020 01:43:49 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#ccdb/ab52</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#ccdb</link><description>Dear Davis, In dnn_mmod_ex.cpp "bn_con" layers are used in both training &amp; testing (at the end of training). In testing, "affine" layers must be used instead of bn_con layer. Am I missing something? Best regards.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Wed, 17 Jun 2020 18:03:32 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/ea282fe0e3/?limit=25#ccdb</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/d5f381c0fa/?limit=25#4059/28ec</link><description>Right, there is no pretrained model in dlib for this. You could use instance segmentation or a vanilla mmod detector or something like that to do it though. There are always performance and accuracy tradeoffs. Making a high quality training dataset is also non-trivial and where you should spend most of your time. I would look at some CVPR papers that talk about detecting pedestrians or humans if you want more ideas. On Fri, Jun 12, 2020 at 6:32 PM John Puskin johnpuskin@users.sourceforge.net wrote:...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Tue, 16 Jun 2020 18:42:52 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/d5f381c0fa/?limit=25#4059/28ec</guid></item><item><title>John Puskin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/d5f381c0fa/?limit=25#4059</link><description>Dear Davis, I want to detect the humans in the given images. As far as I know, there is no pretrained model for human detection &amp; localization in the dlib. Face detection models only work with faces, they don't detect humans whose face cannot be seen. However, I think, maybe I can use "instance segmentation" (http://dlib.net/files/instance_segmentation_voc2012net_v2.dnn) model for human/people detection. (instance.rect maybe what I am needed). Is it possible? Do you suggest it? Is there any performance...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Puskin</dc:creator><pubDate>Fri, 12 Jun 2020 22:32:32 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/d5f381c0fa/?limit=25#4059</guid></item><item><title>Davis created a blog post</title><link>https://sourceforge.net/p/dclib/news/2020/06/dlib-c-library-1920-released/</link><description>dlib C++ Library: 19.20 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Sat, 06 Jun 2020 19:18:22 -0000</pubDate><guid>https://sourceforge.net/p/dclib/news/2020/06/dlib-c-library-1920-released/</guid></item><item><title>dlib C++ Library released /dlib/v19.20/dlib-19.20.zip</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.20/dlib-19.20.zip/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sat, 06 Jun 2020 19:04:04 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.20/dlib-19.20.zip/download</guid></item><item><title>dlib C++ Library released /dlib/v19.20/dlib-19.20.tar.bz2</title><link>https://sourceforge.nethttps%3A//sourceforge.net/projects/dclib/files/dlib/v19.20/dlib-19.20.tar.bz2/download</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dlib C++ Library</dc:creator><pubDate>Sat, 06 Jun 2020 19:04:04 -0000</pubDate><guid>https://sourceforge.net/projects/dclib/files/dlib/v19.20/dlib-19.20.tar.bz2/download</guid></item><item><title>vinithay posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/c61e1918/?limit=25#88b8</link><description>Nevermind, I was able to use the overloaded function with image_scale.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vinithay</dc:creator><pubDate>Thu, 16 Apr 2020 18:40:33 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/c61e1918/?limit=25#88b8</guid></item><item><title>vinithay posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/c61e1918/?limit=25#bb75</link><description>How can use resize_image if I don't know the x and y dimensions while declaring the variable. Similar to the snippet posted above, if I am programatically determining "640" and "480", is there an overloaded method for resize that will take these values as parameters? I looked through the documentation but could not find anything similar to this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vinithay</dc:creator><pubDate>Thu, 16 Apr 2020 18:09:14 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/c61e1918/?limit=25#bb75</guid></item><item><title>Christophe Jacquelin posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/d8cc72df52/?limit=25#d7f7</link><description>Hello, In C++ we use dlib::serialize(path) &gt;&gt; model But how to free the memory of the model ? Thank you, Christophe</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christophe Jacquelin</dc:creator><pubDate>Wed, 08 Apr 2020 15:11:31 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/d8cc72df52/?limit=25#d7f7</guid></item><item><title>Don M posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#f741</link><description>That works. Thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Don M</dc:creator><pubDate>Wed, 08 Apr 2020 14:53:05 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#f741</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88/cf15</link><description>Dlib is still just as header only as it always has been. However, I added that dlib/test_for_odr_violations.h file because I constantly get questions from people who were doing silly things with their builds, getting errors that have nothing to do with dlib, and asking me about it. If you blank out the contents of dlib/test_for_odr_violations.h it will all be header only again.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 08 Apr 2020 12:21:16 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88/cf15</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88/5778</link><description>Well, I shouldn't say "all". Dlib has never been all header only. But it should work like you expect.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 08 Apr 2020 12:05:49 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88/5778</guid></item><item><title>Don M posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88</link><description>I am upgrading an old project from dlib version 18.18. At that time dlib was a header-only library, so I only needed to add dlib to my include path and I was all set. My project is built using visual studio (originally 2015, now 2019). Newer dlib versions require compiling dlib. I got things to work with version 19.19 by adding all/source.cpp to my visual studio project and making some modifications to get around errors (adding /bigobj to the compile options and dealing with precompiled headers)....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Don M</dc:creator><pubDate>Tue, 07 Apr 2020 18:43:48 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a892d41c79/?limit=25#6f88</guid></item><item><title>lea fava posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#c7e0</link><description>Thanks so much! I'll give it a shot and let you know what I get.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lea fava</dc:creator><pubDate>Tue, 07 Apr 2020 14:58:50 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#c7e0</guid></item><item><title>Davis posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c/8ed0</link><description>Start by annotating 100 faces, or 200 maybe. Train a model using that data and see what you get. Then use that model to label a bunch of other images and go manually move the landmarks to the right places. Then retrain and relabel. Repeat a few times as your grow your dataset.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Tue, 07 Apr 2020 01:54:27 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c/8ed0</guid></item><item><title>lea fava modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c</link><description>I'm trying to use dlib's imglab tool to annotate my own facial landmark dataset to include points for the hairline, pupils, neck, and ears similar to the markup I've attached below. I'm a little apprehensive about getting started though because I'm unsure how precise the points have to be as some of the images from the databases I am working with don't have a single person looking directly into the camera. Do you have any tips for me? I feel like once I get started, things will quickly get out of...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lea fava</dc:creator><pubDate>Mon, 06 Apr 2020 17:13:49 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c</guid></item><item><title>lea fava posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c</link><description>I'm trying to use dlib's imglab tool to annotate my own facial landmark dataset to include points for the hairline, pupils, neck, and ears similar to the markup I've attached below. I'm a little apprehensive about getting started though because I'm unsure how precise the points have to be as some of the images from the databases I am working with don't have a single person looking directly into the camera. Has anyone already tried doing this and do you have any tips for me? I feel like once I get...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lea fava</dc:creator><pubDate>Mon, 06 Apr 2020 17:11:19 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442517/thread/045d9897bf/?limit=25#780c</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/86c02f97/?limit=25#4a80/64b6</link><description>One layer does batch norm and another just linearly transforms the outputs. The latter is not useful since you will be stacking adjacent to some other linear transformation like a convolution, and two linear things combine into another linear thing, so no additional modeling capacity is gained.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Wed, 18 Mar 2020 02:07:25 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/86c02f97/?limit=25#4a80/64b6</guid></item><item><title>lea fava posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/86c02f97/?limit=25#4a80</link><description>@davisking What's the difference between bn_con and affine layers? Why doesn't using affine layers in training make sense mathematically?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lea fava</dc:creator><pubDate>Tue, 17 Mar 2020 04:30:04 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/86c02f97/?limit=25#4a80</guid></item><item><title>Davis posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a79495779a/?limit=25#798d/e4a6</link><description>They save an object's state to a stream.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Davis</dc:creator><pubDate>Thu, 05 Mar 2020 13:30:23 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a79495779a/?limit=25#798d/e4a6</guid></item><item><title>shome  das posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/a79495779a/?limit=25#798d</link><description>I am trying to modify the dlib random forest regression code to use features derived from patches in training images. What is the role of various serialization, deserialization functions in the various classes in random_forest_regression_abstract.h. I do not know the use of serialization/deserialization in image processing context(or otherwise). Kindly help.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shome  das</dc:creator><pubDate>Wed, 04 Mar 2020 06:42:58 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/a79495779a/?limit=25#798d</guid></item><item><title>Jan Lipták posted a comment on discussion Help</title><link>https://sourceforge.net/p/dclib/discussion/442518/thread/e24fdb9bb2/?limit=25#82a6/1780/fd54</link><description>Thank you, it looks its working. I made 150x150 images, sort it to folders and train it with dnn_metric_learning_on_images_ex. It is doing clustering how i would expect with dnn_face_recognition_ex, but I have last question. I decide that I want more groups, not just binary classificator. Is there information in that trained .dat file about the folders names? And maybe set it instead of "face cluster 0" to title of window? I know it's set with "win_clusters[cluster_id].set_title("face cluster " +...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Lipták</dc:creator><pubDate>Thu, 27 Feb 2020 17:34:29 -0000</pubDate><guid>https://sourceforge.net/p/dclib/discussion/442518/thread/e24fdb9bb2/?limit=25#82a6/1780/fd54</guid></item></channel></rss>