From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id CF3C04C474 for ; Sun, 9 Mar 2025 13:52:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D22B868E5D1; Sun, 9 Mar 2025 15:51:56 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 48FCE68E52E for ; Sun, 9 Mar 2025 15:51:50 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 77B4320453 for ; Sun, 9 Mar 2025 13:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1741528309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=slteQ879rlPpB2rhnW5UwdCt4Z3u34nFpcT3qcczScs=; b=YbN9wv1IkVNJcMaxqSKDV/hCwCvsBuJ0HdbXGgfcCAyOI6+wgkLe2kq7hhn04AVJYpqfTR U1VRH+SSwkrvIwKJbZaWYAY3oklHk13S3VCF7vFTsW81NB1o9LF+53tN7GqvCA4tPuWG/G rvEr1T4rE9P2RY+CZR1KqZKdOcdC/V6JhioHRsWq0dpXDaxWVtC+OnTdfnLi3bTSImNCfY /i4sKKufAXJs40KFY+JQLEbZXRFNpP0f1a4ohJrvPRiZs0cYiychQcMWc7rkbOItrPRg9w 7D/AdITImI6qzmh02aulXUDazcoY0kjIOSUgKJmcXi38Gpx0I7NZfL26QfnUlw== Date: Sun, 9 Mar 2025 14:51:48 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250309135148.GG4991@pb2> References: <007301db903a$7ea1afb0$7be50f10$@gmail.com> MIME-Version: 1.0 In-Reply-To: <007301db903a$7ea1afb0$7be50f10$@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudeiiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeetgfegvdffieeuffevhfeitdfgfeejudekfeegteegveegjeegkedvveejleevkeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH FFmpeg 1/15] libavutil: add detectionbbox util functions X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============5696283934201457345==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5696283934201457345== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gIElA05BlDLcBR1G" Content-Disposition: inline --gIElA05BlDLcBR1G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Sat, Mar 08, 2025 at 03:58:04PM +0100, m.kaindl0208@gmail.com wrote: > Those functions will be used by classify in the upcoming patches. >=20 > Try the new filters using my Github Repo https://github.com/MaximilianKai= ndl/DeepFFMPEGVideoClassification. >=20 > Any Feedback is appreciated! >=20 > Signed-off-by: MaximilianKaindl > --- > libavutil/detection_bbox.c | 54 ++++++++++++++++++++++++++++++++++++++ > libavutil/detection_bbox.h | 31 ++++++++++++++++++++++ > 2 files changed, 85 insertions(+) >=20 > diff --git a/libavutil/detection_bbox.c b/libavutil/detection_bbox.c inde= x cb157b355b..378233121d 100644 > --- a/libavutil/detection_bbox.c > +++ b/libavutil/detection_bbox.c > @@ -18,6 +18,7 @@ > =20 > #include "detection_bbox.h" > #include "mem.h" > +#include "libavutil/avstring.h" > =20 > AVDetectionBBoxHeader *av_detection_bbox_alloc(uint32_t nb_bboxes, size_= t *out_size) { @@ -71,3 +72,56 @@ AVDetectionBBoxHeader *av_detection_bbox= _create_side_data(AVFrame *frame, uint32 > =20 > return header; > } > + > +int av_detection_bbox_fill_with_best_labels(char **labels, float=20 > +*probabilities, int num_labels, AVDetectionBBox *bbox, int max_classes_p= er_box, float confidence_threshold) { > + int i, j, minpos, ret; The patch is corrupted by line breaks, check your editor settings for line/= word wrap OR attach the patch OR use git send-email Applying: libavutil: add detectionbbox util functions error: corrupt patch at line 121 error: could not build fake ancestor Patch failed at 0001 libavutil: add detectionbbox util functions thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Elect your leaders based on what they did after the last election, not based on what they say before an election. --gIElA05BlDLcBR1G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ82c8QAKCRBhHseHBAsP q+AsAJ0ZFHvh518me6kETE78xgjl2LFNHACfY+acgR8c06cEH4GU/1JxuytYaa8= =+0xg -----END PGP SIGNATURE----- --gIElA05BlDLcBR1G-- --===============5696283934201457345== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============5696283934201457345==--