GithubHelp home page GithubHelp logo

decimation / smartimage Goto Github PK

View Code? Open in Web Editor NEW
558.0 10.0 27.0 171.8 MB

Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)

License: GNU General Public License v3.0

C# 100.00%
image-search reverse-image-search saucenao trace-moe imgops search-engines windows tineye anime artwork

smartimage's Introduction

Read (Decimation)

Metrics

Website

Main Projects


.NET

Click to open

I research the .NET CLR and its internal functionality. I have written some short essays on how the CLR operates which you can see here.

Some of my work on analyzing the .NET CLR and implementing/accessing features that are usually forbidden:

Low-level Research

Click to open

I enjoy researching and working with low-level components such as memory, machine architecture, OS design, and so on. I sometimes work on "hacky" projects that tinker with hidden/low-level functionality.

TI Calculators

Click to open

I have done some research and projects on Texas Instruments calculators, specifically the TI-84 Plus CE and the TI-Nspire calculators.

Other info

Click to open

Languages:

  • C#
  • C++
  • C
  • Java
  • Python
  • Batch
  • PowerShell

smartimage's People

Contributors

decimation avatar tesar-tech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartimage's Issues

.local-chromium folder gets created but doesn't get deleted

Every time i search an image in a folder, a .local-chromium folder will be created in the same folder and does not get deleted once the search is complete.

If SmartImage needs chromium to work, it should create those files where the .exe is located so it could re-use them and wouldn't have to re-create the same files in every folder i search an image into.

Maybe they actually get deleted once the search is done but there is a bug because those are onedrive folders or something, still, it would be better if the solution above was applied because otherwise it's a big waste of resource and time.

https://i.imgur.com/SJzuc5z.png
https://i.imgur.com/pEAruvS.png
https://i.imgur.com/gk3dLHl.png

[IQDB] URL broken

the link appears like this when I do a search:
image

it opens like that in the browser as well, leading to a broken page

Pass argument?

I may be doing something wrong, but is there a way to pass an image to SmartImage as a command line argument in the new 3.0 version? Thanks.

Query was not uploaded (crash)

SmartImage crashes when I run with any image. Here's the trace:

Unhandled exception. System.ArgumentException: Query was not uploaded (Parameter 'query')
   at SmartImage.Lib.SearchClient.GetSearchTasks(SearchQuery query, CancellationToken token)
   at SmartImage.Lib.SearchClient.RunSearchAsync(SearchQuery query, CancellationToken token, IProgress`1 p)
   at SmartImage.Mode.Shell.ShellMode.RunSearchAsync()
   at SmartImage.Mode.Shell.ShellMode.RunMain()
   at SmartImage.Mode.Shell.ShellMode.Run_Clicked()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object)
   at Terminal.Gui.Application.MainLoopSyncContext.<>c__DisplayClass3_0.<Post>b__0()
   at Terminal.Gui.MainLoop.RunIdle()
   at Terminal.Gui.MainLoop.MainIteration()
   at Terminal.Gui.Application.RunMainLoopIteration(RunState&, Boolean, Boolean&)
   at Terminal.Gui.Application.RunLoop(RunState, Boolean )
   at Terminal.Gui.Application.Run(Toplevel, Func`2 )
   at Terminal.Gui.Application.Run(Func`2 )
   at SmartImage.Mode.Shell.ShellMode.RunAsync(Object )
   at SmartImage.Program.Main(String[])
   at SmartImage.Program.<Main>(String[])

I downloaded the latest release binary (v3.0.2 Release), and executed via windows powershell on windows 11. I copied an image to clipboard, and SmartImage pulled the correct file path into the Input field, upon clicking "run" SmartImage displays "uploading", draws the header for the results table, and then exits with the above trace. Config is default, aside from enabling the context menu.

Running SmartImage via the context menu opens, displays the same as the above, and exits (presumably with the same trace, however it closes before I can see).

Crash on Opening

When I try to open SmartImage, this error is generated:

Unhandled exception. System.TypeInitializationException: The type initializer for '' threw an exception.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.DllNotFoundException: Dll was not found.
at WinRT.Platform.WindowsCreateStringReference(Char* sourceString, Int32 length, IntPtr* hstring_header, IntPtr* hstring)
at WinRT.MarshalString.CreateMarshaler(String value)
at WinRT.WinrtModule.GetActivationFactory(String runtimeClassId)
at WinRT.BaseActivationFactory..ctor(String typeNamespace, String typeFullName)
at Windows.System.UserProfile.GlobalizationPreferences._IGlobalizationPreferencesStatics..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstanceT
at WinRT.WeakLazy`1.get_Value()
at Windows.System.UserProfile.GlobalizationPreferences._IGlobalizationPreferencesStatics.get_Instance()
at Windows.System.UserProfile.GlobalizationPreferences.get_Languages()
at SmartImage.Core.AppInfo.Setup()
at .cctor()
--- End of inner exception stack trace ---

I have .NET 5.0.11, and am on Windows 7 64 bit.

found Images are not even to 1% Similar even though it shows 70%

I did multiple searches with images of people, and the results are always something entirely different.

I don't know if this is a bug, but I interpreted this tool as a Image Searching Tool no matter what the content of the picture is. Or can only specific Images be searched?

What I did was search for images with 1 or more People in it. What I found were scenes with nature like a view from a plane or a drone of a jungle or mountains. The images are not even closely similar, but the tool shows a similarity of 70% and higher.

I can't configure the program

I expose the settings so that the program search in Saucenao, Yandex and Google, but it starts searching everywhere.
And how should the program be configured so that it immediately opens search results in the browser?

clipboard feature

is there any possibility of a feature about using this program with an image stored in the clipboard instead of saved images?

edit: i figured out i can paste regular images but i can't paste the ones i take from windows snaptool (win + shift + s)

Future Linux version?

Just a suggestion, but I think something like this on Linux would be amazing. I'm not sure what would need to happen to make it a Linux release, but the community would probably help.

GUI not uploading image

I'm using the GUI version, 4.0.0, and it's not uploading the image to the sources. But, when I use 3.0.4 it works correctly. Although, rarely, it too doesn't upload the image. I would have to wait a few minutes before retrying the search and it works. I even tried GUI on a fresh installation of Windows 11, and it still doesn't work.

Not only that, but I tried downloading the zip, to my surprise there were no EXE in the zip. Am I supposed to build the EXE someway?

Ascii2D Cloudflare protection

Ascii2D seems to have implemented Cloudflare protection which prevents scraping of its results. Cloudflare protection has to be circumvented or an alternative method of retrieving Ascii2D results is needed.

GUI rewrite

  • GUI instead of shell interface
  • Avalonia/Uno WPF framework

Issue while opening

Everytime i open an img

----------Exception----------
Exception message: Exception of type 'SmartImage.Utilities.SmartImageException' was thrown.
Exception stack trace: at SmartImage.RuntimeInfo.FindExecutableLocation(String exe)
at SmartImage.RuntimeInfo.get_ExeLocation()
at SmartImage.RuntimeInfo.get_AppFolder()
at SmartImage.RuntimeInfo.get_IsAppFolderInPath()
at SmartImage.Integration.Setup()
at SmartImage.Program.Main(String[] args)
Source: SmartImage
HResult: -2146233088
Site: System.String FindExecutableLocation(System.String)

----------Config----------
Error adding config
----------Program Info----------
Version: 1.9.7.0
Crash log written to C:\Users\BedBug\Desktop\crash.log
Please file an issue and attach the crash log.

Press any key to continue...

windows 7

Does this work with Win 7?

Thanks

[Bug Report] Some Menu Bugs Encountered

Just documenting some bugs from Release 3.0.1 incase you weren't aware.

Добавь функцию

  1. when you do a search, it opens the browser with sites. I want to do it manually through MAIN. select it yourself, without automatically opening the site
  2. doesn't show the checkboxes that I checked.

Prompt when no results are available

snapshot
Thanks to this software, it is very convenient.
I have a question, is there no result available when the "similarity" is not green?
I can't be sure, so I have to wait every time. If it doesn't open the webpage, I can confirm that it has no results.
Is my guess correct? Or can you add a more direct prompt? Thank you!

SmartImage not opening from context menu

Hi, I placed the executable in my system %PATH% location (C:) and then ran the command as administrator to add the context menu (SmartImage --ctx-menu). When I try to right click a file and click the SmartImage option, it just opens the default "How would you like to open this file" window. Is there a step I am missing? Did I place the executable in the right location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.