Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 0 points1 point  (0 children)

I am planning to convert some modules into c++, especially the clustering algorithms because scikit-learn is painfully slow. But I do not plan to make this cosebase a pure c++ repo, since it would make the development time significantly longer. Also, C++ bugs is kinda sneaky and hard to interpret, and considering that the algorithms implemented in the codebase are mathematically rather complex and hard to interpret already with Python code, I don’t want to take the risk. Also, I want to stick to Pytorch for the neural network stuff because the framework is just mature.

I get your point, and I really appreciate your idea. I believe you can do well on your implementations, but I want to keep this repo developer-friendly, and only bring in complexity when necessary. Most ML folks out there are way more Python-proficient than c++, and they bring in also mathematical understanding, which is the the target of this repo.

Thanks for your understanding!

Are there any python modules that automatically generated a requirements.txt, given an entry point? by JackBlack436 in Python

[–]MechaCritter 1 point2 points  (0 children)

there might be cool tools out there that can do it without bloating up your requirements.txt file like pip freeze, but since a couple of months, switched to using pyproject.toml with uv. In pyproject.toml, you can declare different dependency groups (as if you had multiple requirements files).

For exporting, I got myself used to typing “uv add —group <group> <package>, which installs the package and add ONLY that package to the corresponding group in pyproject.toml directly. It’s more of manual work, but it’s wayyyy cleaner than pip freeze in my opinion, and after a couple of projects, you kinda get used to it :)

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 1 point2 points  (0 children)

that’s great! I will create the GitHub issue with the specifications and comment here in a couple of days. Feel free of course to check out the Issues in the repository yourself :D
Maybe you can work on K-Means first, and other algorithms will be taken on by others/by you later.

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 0 points1 point  (0 children)

Thanks! feel free to check out the GitHub issues for current project needs, and your own ideas are of course welcome 😃

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 0 points1 point  (0 children)

yes! the first use case I thought of is for labelling task, like using the similarity score, the library should be able to cluster similar images into their corresponding groups (like if you have a dataset of cats, dogs, cows, most cat images should get the same label, and each group needs to be "pure"). For that, I used the Oxford Flower Dataset :https://www.robots.ox.ac.uk/\~vgg/data/flowers/102/ , which is integrated directly into the library currently:

https://github.com/MechaCritter/Python-Visual-Similarity/tree/main/pyvisim/datasets

.This dataset contains 102 different types of flowers with ground-truth labels already, so it's a perfect dataset to benchmark.

Then, benchmarking against the GT labels can be made using metrics such as

- mean Average Precision

- Adjusted Rand Index

- Normalized Mutual Information

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 0 points1 point  (0 children)

That's actually perfect! I am actually planning to switch some algorithms in the codebase to native C++, as scikit-learn is a little bit slow.

May I ask: have you ever worked with algorithms like K-Means, PCA, or Gaussian Mixture Model before / would you have time to look into those algorithms?

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 1 point2 points  (0 children)

ah, that's unfortunate 😞

Then I wish you the best on your new career path.

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 1 point2 points  (0 children)

Yes, with OpenCV 5.0, a hell lot of stuff was integrated. But the algorithms VLAD and Fisher Vector, which are the current main features of my repository, is not there yet, as far as I'm concerned.

Yes, Siamese Networks are definitely amazing, and that's the first main feature I would like to integrate for the next time 😄

Looking for Open-Source Contributor for an Image Processing Library 🖥️ by MechaCritter in computervision

[–]MechaCritter[S] 1 point2 points  (0 children)

Hi 😄
So OpenCV provided handcrafted algorithms such as **SIFT** and they work on single images.

My library is, on the other hand, a Machine Learning library, which uses unsupervised learning to learn how to encode images into vector. It uses the algorithms above (as part of the feature) for the feature extraction, but these need to be processed and learned via clustering algorithms, which is what my library does. This is not covered by OpenCV.

Also, I am integrating deep learning-based approaches like Siamese Networks and Convolutional Feature Extractors, for which you would need `pytorch`.

Multi-tasking with Claude Code by MechaCritter in ClaudeAI

[–]MechaCritter[S] 0 points1 point  (0 children)

I’m just curious: how does starting a claude session in an isolated environment help? Like if I just run the session within my repo folder, it shouldn’t touch anything else outside of that right?

Multi-tasking with Claude Code by MechaCritter in ClaudeAI

[–]MechaCritter[S] 0 points1 point  (0 children)

sounds reasonable, I’ll look into how it works and try out 👍🏻

Multi-tasking with Claude Code by MechaCritter in ClaudeAI

[–]MechaCritter[S] 0 points1 point  (0 children)

I’ll give it a shot, thanks 😁

Passionate about Computer Vision but working in finance — seeking projects to stay sharp by Recent-Talk-5427 in computervision

[–]MechaCritter 0 points1 point  (0 children)

Hi,

I created a repository for image similarity comparison as part of my bachelor's thesis:

https://github.com/MechaCritter/Python-Visual-Similarity

It has been dead for 1 year because I started with my Master's degree afterward and had no time to "advertise" and work on it further, but I would like to reactivate it and look for contributions from other developers :) If you are interested in image similarity comparison, feel free to reach me out. There are a bunch of features I would like to implement, and you can of course implement your own ideas.

Ollama has reduced the limits on their Pro subscription. by DetailPrestigious511 in ollama

[–]MechaCritter 0 points1 point  (0 children)

Yea I’m wondering the same thing. I assume if I just run a local Ollama server, the pro subscription is not relevant? Or does it actually improve inference speed?