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 ESMTP id EBE3D43C09 for ; Fri, 22 Jul 2022 23:13:39 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 28F0968B049; Sat, 23 Jul 2022 02:13:37 +0300 (EEST) Received: from mta-p5.oit.umn.edu (mta-p5.oit.umn.edu [134.84.196.205]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A460168B049 for ; Sat, 23 Jul 2022 02:13:30 +0300 (EEST) Received: from localhost (unknown [127.0.0.1]) by mta-p5.oit.umn.edu (Postfix) with ESMTP id 4LqQGc5GCmz9vC9L for ; Fri, 22 Jul 2022 23:13:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at umn.edu Received: from mta-p5.oit.umn.edu ([127.0.0.1]) by localhost (mta-p5.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yu4QUeo4yKKC for ; Fri, 22 Jul 2022 18:13:28 -0500 (CDT) Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p5.oit.umn.edu (Postfix) with ESMTPS id 4LqQGc2vs9z9vC92 for ; Fri, 22 Jul 2022 18:13:28 -0500 (CDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mta-p5.oit.umn.edu 4LqQGc2vs9z9vC92 DKIM-Filter: OpenDKIM Filter v2.11.0 mta-p5.oit.umn.edu 4LqQGc2vs9z9vC92 Received: by mail-pl1-f199.google.com with SMTP id b10-20020a170902d50a00b0016c56d1f90fso3353915plg.21 for ; Fri, 22 Jul 2022 16:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d.umn.edu; s=google; h=mime-version:from:date:message-id:subject:to; bh=mTj4+WmunHRqErYo52MqTTef1FAkxWU5/uiwYztMlPI=; b=AIgnzZJSaq0DfHREaMG2M8geVIU0gHigh7Dj0spXX3PvfsAWG86hJEd8VQ6pvSAn0I kcFDU3Xi8HR3jq034fZR+aEa5zDjeoFIyNicbTEGpyKjbsqcI+mcMMpH6BXcENqGIlq2 5GsHfgaS8gvzi2P1T2B8IO3hWrnLva1+EBF114hbj9OGRmAjHs//+DNOlVFuBgNHTAoe O5xevmeA4X8tWGXovot6kIjRw3nWqXU5w5QHsHLS+Nlqgo+PdbHH5g5tZgIhD5v/z2Ud LAoir49CwDViFW8tv7nUYK4QML8e5Fh6pz0cB1EWWEbxkbR/anisLYLIqh6XqnQiVGnb p83g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mTj4+WmunHRqErYo52MqTTef1FAkxWU5/uiwYztMlPI=; b=ZIyko+4b8Et071KLbNNkzXR2POYkSaMXWUDxOKDfELsO63t9RGMmGZCbavIcLhgLOD iY0EwWy0Gm2ccIrjIhJGxKlLlndhvNjVyR7KfweinyTrMrtajuVpa8BbKFkXtu3cZTLC bhxpNWI2Ha88C7LcLo2VZLV41c9Zb4rzNe8oAp5Rq9VDhzVucvAfW9tkyc9jtQVk7A3y TLEgCJ15NRn+fPhrewjLrR0QLOCgRgTj5hbokMLyhuvLzZENEN+daROoIPyXFFB31CR5 SP01ISBNP1Ewgw/j+l0laFuRxNwfgevv7XgZbOoUBQslsKSwYcMxwZp6rwlgnfej9QxA Nl+g== X-Gm-Message-State: AJIora+LOrkQN4Msa7bkp8Xj9gmhxnc4Dh6x/sbXkenORNsPD4Wsm1Rg 3sVk9XZjc34jSPZlgUiIfR22Ff1Y2/ab7hetr1odVmBgzztqYJa9R0a7i0CPS4m2m6FsuVzlER5 ZZ3FhLVBdelpO/TGRzeHatGl66s7gOtOrQSKQUw== X-Received: by 2002:a17:902:f7d2:b0:16d:40e7:4f67 with SMTP id h18-20020a170902f7d200b0016d40e74f67mr1751788plw.128.1658531607252; Fri, 22 Jul 2022 16:13:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s6t2ZqbmdXLn+bbTJqFG3/IxX61aQGANC3ku1eKuEAc6I6oZQzqVuT+mbQFBWof2y7UXS1qK6j05W6DzHiFZE= X-Received: by 2002:a17:902:f7d2:b0:16d:40e7:4f67 with SMTP id h18-20020a170902f7d200b0016d40e74f67mr1751757plw.128.1658531606692; Fri, 22 Jul 2022 16:13:26 -0700 (PDT) MIME-Version: 1.0 From: Matt Zagrabelny Date: Fri, 22 Jul 2022 18:13:15 -0500 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [FFmpeg-devel] cropdetect for scanned images 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Greetings, I've used cropdetect before for video processing. I am currently scanning a few photographs. The scanning bed is 8 1/2" x 11", but the photos are considerably smaller. I'd like to use some sort of programmable mechanism like ffmpeg's cropdetect. However, my scanner matting is white - while I understand cropdetect is coded to detect the border of black and non-black pixels. Has anyone had any experience deviating from a black matting with cropdetect? Thanks for any help with cropdetect and scanned images. Cheers, -m _______________________________________________ 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".