Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a module for python that does facial recognition? It should take in an image and compare it to a different image.
You should check out OpenCV :) it is a useful toolkit for this sort of thing and is implemented in Python, C, and C++.
It also has some pretty thorough documentation from what I remember.
#William beat me to it, but here are a couple blogs making reference to OpenCV with some Python code.
Face recognition – much easier than expected
Face Detection in Static Images with Python
They are the top hits in Google when searching "python module facial recognition." Hope it helps.
I'm not debating the answers given but just wanted to point out that OpenCV isn't the only option, for example, pyfaces is a eigenface based approach / library designed specifically for facial matching. SimpleCV is new to the scene as well and from what I understand it can be used for face detection and recognition though SimpleCV isn't as powerful or as stable as OpenCV yet but just wanted to point out other options worth exploring.
http://code.google.com/p/pyfaces/
http://pyfaces.blogspot.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm trying to get some approximation ratios for the Maximum Independent Set Problem and so I need some exact solutions !
I've found libraries written in C++ (i.e https://github.com/iPapatsoris/Maximum-Independent-Set)
but wondered if there were any directly in Python. I know of the `networkx' maximal indepedent set function but these are only approximations.
I realise it's far from the most efficient language to use but I'm only solving small Erdős–Rényi graphs (N<20).
In addition to this, are there any libraries that solve this for the weighted problem, where some nodes matter more than others?
This is the only python library I could find:
https://github.com/pchervi/Graph-Coloring/blob/master/Coloring_MWIS_heuristics.py
I haven't checked that it works correctly however.
I've been using KaMIS instead, which is a C++ implementation.
https://github.com/KarlsruheMIS/KaMIS
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
We can perform noise reduction using Open-source Software like Audacity, which is commonly used for the purpose. Please click the below link for reference.
denoising with audacity image
Is there a python library that can perform a similar function?
If you want to reduce noise the audacity way, to my understanding, you should program your algorithm using scipy filters provided by scipy library.
Besides that pyaudio is one dedicated library for audio analysis and here is a kickstart tutorial.
If you are not restricted only to Python, you can check out on Essentia. This is by far an exhaustive library for music and audio analysis.
Nutshell: While python libraries provide functionalities, it is you who should code your noise reduction algorithm (tailored to your needs). May be you can follow the audacity's approach.
You can refer this question for better, technical/implementation, clarity: Noise reduction on wave file
Good luck! Try to be precise and post questions focusing on implementation pertaining to programming languages rather than generic things.
As a general guideline:
Understand the behavior of your noise and then you can choose your noise removal strategy accordingly.May be you need a simple low pass filter or high-pass filter.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I note that Matlab has a straightforward function for getting the entropy of an image. I need something similar for python. Scikit image has an entropy filter, which outputs the image using the least amount of bits needed to do so (at least, I think it does). I assume that to do this it calculates the entropy, but I can't seem to access it as a scalar value.
Before I code a function to do this manually, does anyone know if already exists and I'm somehow missing it? Or for that matter, some existing code that they'd recommend?
If you don't mind shelling out to ImageMagick you can do it like this:
convert someImage.png -format '%[entropy]' info:
0.907238
Not sure how you do it with the ImageMagick Python bindings, but it is probably possible.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to find a good 3D geometry library for Python that has similar operations and functionality to Shapely.
http://toblerity.org/shapely/manual.html
Shapely is great, and has exactly what I need, especially around the creation and manipulation of Linestring objects. Unfortunately, it only supports operations on 2D objects, even though 3D points can be created.
Does anybody know of any a similar module that operates in full 3D? It would be greatly appreciated. Thanks.
Have a look at Pymesh:
http://pymesh.readthedocs.io/en/latest/
Its a new CSG wrapper for basic 3d geometry applications.
Is that the type of thing you're looking for?
Have a look at d3g package in PyPI.
Visit https://pypi.org/project/d3g
pip install d3g
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have been using the Simple Blob Detection algorithm from the OpenCV library (for Python) for a research project. I would like to reference this particular method algorithm in my paper.
Does anyone know from where this method is from and indicate me a good to reference to cite? The openCV source code does not refer to any particular literature.
Thanks
It uses the Connected-component labeling algorithm.