Search found 1598 matches

by Sisophon2001
Dec 02, 2023 9:38
Forum: General
Topic: Searching an image for a match with smaller image
Replies: 2
Views: 480

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...
by Sisophon2001
Dec 01, 2023 12:28
Forum: General
Topic: Searching an image for a match with smaller image
Replies: 2
Views: 480

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
by Sisophon2001
Oct 04, 2019 4:23
Forum: General
Topic: Sound file sample access (WAV or MP3)
Replies: 6
Views: 3095

Re: Sound file sample access (WAV or MP3)

Thanks to both badidea and grindstone for your help. I will study the examples you shared.
by Sisophon2001
Oct 03, 2019 11:03
Forum: General
Topic: Sound file sample access (WAV or MP3)
Replies: 6
Views: 3095

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...
by Sisophon2001
Aug 15, 2012 13:32
Forum: Community Discussion
Topic: gfxlib2 licence
Replies: 4
Views: 1324

gfxlib2 licence

Good news:
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
Has this been mentioned elsewhere? I cant find it in searching.

Garvan
by Sisophon2001
Mar 27, 2012 11:11
Forum: Community Discussion
Topic: Anti Virus Opinions Please
Replies: 13
Views: 3441

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...
by Sisophon2001
Jan 28, 2012 11:33
Forum: Windows
Topic: Reading a Windows format ".ini" file
Replies: 12
Views: 4558

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...
by Sisophon2001
Jan 13, 2012 13:10
Forum: General
Topic: like function
Replies: 5
Views: 1489

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...
by Sisophon2001
Dec 07, 2011 11:46
Forum: Archive
Topic: Chess program
Replies: 69
Views: 25350

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
Thanks.

Garvan
by Sisophon2001
Dec 06, 2011 13:34
Forum: Archive
Topic: Chess program
Replies: 69
Views: 25350

@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 / ...
by Sisophon2001
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: 3576

I filed a bug report here,

https://sourceforge.net/tracker/?group_ ... tid=693196

Thanks for clarifying the details.

Garvan
by Sisophon2001
Nov 07, 2011 13:22
Forum: Sources, Examples, Tips and Tricks
Topic: Sudoku Solver (re-done)
Replies: 27
Views: 7547

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...
by Sisophon2001
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: 3576

EinOtten wrote:Do you guys post/report this problem? You lost me when you started to look at it in assembler ;)
I would wait 24 hours or so to see if anybody figures out what is going wrong. Then there might be a better bug report.

Garvan
by Sisophon2001
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: 3576

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...
by Sisophon2001
Sep 26, 2011 13:17
Forum: Community Discussion
Topic: scam emails - how to track "hidden" senders ?
Replies: 17
Views: 8951

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...