Search found 1598 matches
- Dec 02, 2023 9:38
- Forum: General
- Topic: Searching an image for a match with smaller image
- Replies: 2
- Views: 490
Re: Searching an image for a match with smaller image
I would do it in this way: scale the image to the icon sized bitmap compare pixel by pixel using the RGB distance When the average distance is above a threshold then the image might match. This wont work exactly as you suggest, because of the details of what I am trying to do, but I will adapt some...
- Dec 01, 2023 12:28
- Forum: General
- Topic: Searching an image for a match with smaller image
- Replies: 2
- Views: 490
Searching an image for a match with smaller image
Hi,
Is there an efficient way to search a photograph bitmap image for closest match to an icon sized second bitmap? My test code using graphics GET takes 3 minutes per image, or about 30 hours for all images in a short video.
Thanks,
Garvan
Is there an efficient way to search a photograph bitmap image for closest match to an icon sized second bitmap? My test code using graphics GET takes 3 minutes per image, or about 30 hours for all images in a short video.
Thanks,
Garvan
- Oct 04, 2019 4:23
- Forum: General
- Topic: Sound file sample access (WAV or MP3)
- Replies: 6
- Views: 3102
Re: Sound file sample access (WAV or MP3)
Thanks to both badidea and grindstone for your help. I will study the examples you shared.
- Oct 03, 2019 11:03
- Forum: General
- Topic: Sound file sample access (WAV or MP3)
- Replies: 6
- Views: 3102
Sound file sample access (WAV or MP3)
Hi, Is there a convenient library to access individual samples from a sound file? Between WAV and MP3 there are so many sound formats it is discouraging to do from scratch. I had working code years ago, based on code by D.J. Peters, but I have lost it now. In Python, this is what I want to do, but I...
- Aug 15, 2012 13:32
- Forum: Community Discussion
- Topic: gfxlib2 licence
- Replies: 4
- Views: 1329
gfxlib2 licence
Good news:
Garvan
Has this been mentioned elsewhere? I cant find it in searching.on fbc:master :: race6e24 / (readme.txt src/gfxlib2/license.txt): (link)
(counting_pine) Change gfxlib2 license to LGPL with special exception, same as rtlib license
Garvan
- Mar 27, 2012 11:11
- Forum: Community Discussion
- Topic: Anti Virus Opinions Please
- Replies: 13
- Views: 3446
Re: Anti Virus Opinions Please
On a new computer with Win7 I use the Microsoft Security Essentials. It provides virus , spyware and unwanted software protection. It gets updated with system updates, it's free, reliable, has a good reputation and stays out of the way. I have used the free version of AVG for years on an older compu...
- Jan 28, 2012 11:33
- Forum: Windows
- Topic: Reading a Windows format ".ini" file
- Replies: 12
- Views: 4561
Re: Reading a Windows format ".ini" file
I thought it would be useful to have a function to do this for one of my programs, so I just made one now. It is only tested on a single example, so it may still have problems. Garvan #include "vbcompat.bi" const FALSE = 0 const TRUE = NOT FALSE '' '' File not found return -1 '' Section no...
- Jan 13, 2012 13:10
- Forum: General
- Topic: like function
- Replies: 5
- Views: 1493
Re: like function
I don't know the VB like function, but you may be interested in the code samples below, which I use for searching for string matches. Garvan ''------------------------------------------------------------------------------ '' '' Function : like() '' '' Purpose : matches wild cards * and ? '' '' Sourc...
- Dec 07, 2011 11:46
- Forum: Archive
- Topic: Chess program
- Replies: 69
- Views: 25365
Thanks.Roland Chastain wrote:I've just understand what you exactly asked to me. Here it is :
http://www.freebasic-portal.de/dlfiles/261/ESCHECS.zip
Garvan
- Dec 06, 2011 13:34
- Forum: Archive
- Topic: Chess program
- Replies: 69
- Views: 25365
@Roland, I don't read German, so it is difficult for me to find your program. Could you please give a direct link for those of us who are interested but can't follow this menu.. Downloadrubriken Compiler Top-Aktuell (6 Einträge) Archiv (46 Einträge) SVN-Daily-Builds (3 Einträge) Befehlsreferenzen / ...
- Nov 08, 2011 12:37
- Forum: General
- Topic: if a or (b and c) is true but if a or (c and b) is false??
- Replies: 21
- Views: 3584
I filed a bug report here,
https://sourceforge.net/tracker/?group_ ... tid=693196
Thanks for clarifying the details.
Garvan
https://sourceforge.net/tracker/?group_ ... tid=693196
Thanks for clarifying the details.
Garvan
- Nov 07, 2011 13:22
- Forum: Sources, Examples, Tips and Tricks
- Topic: Sudoku Solver (re-done)
- Replies: 27
- Views: 7553
In my sudoku solver I take a completed puzzle and remove random numbers one by one to see if it is solvable, and grade the results by degree of difficulty in solving. All valid puzzles are solvable quickly easily by brute force, so you need to program human methods to grade a puzzle. This is the sam...
- Nov 06, 2011 13:49
- Forum: General
- Topic: if a or (b and c) is true but if a or (c and b) is false??
- Replies: 21
- Views: 3584
- Nov 06, 2011 8:29
- Forum: General
- Topic: if a or (b and c) is true but if a or (c and b) is false??
- Replies: 21
- Views: 3584
I quickly tested your code by putting it in a small code block, and it gave buggy results, just like you explained. I need to look at this again to see if I am missing something stupid. Garvan test code: dim as integer gStats_turns, SC_S const DEBUG_EVO_SIM=0 gStats_turns = 1 SC_S = 0 ' version 1 if...
- Sep 26, 2011 13:17
- Forum: Community Discussion
- Topic: scam emails - how to track "hidden" senders ?
- Replies: 17
- Views: 8957
A few days ago I noticed I was signed up to about ten Yahoo groups with random names sending out spam. My spam filter killed nearly all the messages, so I don't know how long this has being happening. When I started to get suspicious, checked my account and found my settings allowed group moderators...