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 3 years ago.
Improve this question
I have been working on a face-tracking turret with OpenCV_Python 4.1.0, but I don't know many commands and functions. So I have been looking for some documentation or a cheat sheet for OpenCV_Python that has all the possible functions and brief explanations about them.
I only found a cheat sheet for OpenCV_C++ 2.7.0, but none for OpenCV_Python.
I saw the official OpenCV 3.0.0 documentation for Python as well, but that only shows a few general-purpose functions.
Is there any source or document (or book) that I can learn all the possible functions of OpenCV_Python?
There is one here:
OpenCV 4.x for Python cheat sheet
I hope it's useful ;)
The best documentation is the code followed by the API. I find myself referring to the API frequently. Although all of the C++ API is not available in Python, all of the Python functions can be found in the C++ API, since it is generated from them. Additionally it is useful to know numpy, since the Mat class is represented in Python as a numpy array.
OpenCV is kind of a hodge podge of algorithms, there are a lot of tutorials that are useful to go through to gain some understanding of the different capabilities available, but it isn't very linear.
If you do want something a little more organized and linear, I recommend finding a good book, I would start with Learning OpenCV, by Gary Bradski. Although I haven't been through the latest edition, I thought the book was helpful. There are a lot of other great books, tutorials, and blogs. Books and blogs will fail to cover in detail every available function and algorithm, so there will still be gaps to fill. Take your time and remember, Rome wasn't built in a day.
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 6 months ago.
Improve this question
My goal is to land a job in Data Science and I would like to ask the people who already work in this field and who can give me advise which Python Framework (Flask or Django) should I master / focus on?
My plan is to create machine learning projects and deploy them to a server, and present them as my experience since I don't have any actual work experience in this field. But I don't want to make a mistake spending hours and hours mastering framework that no one use and then learn again.
Thank You.
Both are good options.
Flask for small scope.
Django is complete, has feature for almost everything out of the box.
You might also include in your stack: pandas, spark, tensor flow, Apache Bean, Google Data Flow, and other related stuff.
Start doing small projects from the courses and tutorials to begin a portfolio, always go for the official documentation to tie up things.
The most important is one Python. Getting really good with Python is the most important pre-requisite.
Then learn data Science Python libraries, first NumPy, and then Pandas.
After that move on to advanced tools like TensorFlow, or the programming language R.
One of the best places to learn more about these technologies, take free courses on freecodecamp.org, first do the course on Python computing, then TensorFlow, both of these are great.
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 am looking for online resource or any good e-book for developing the small games using python language with object orientated approach . my objective is to create small games in class/object fashion.
I googled it but didn't get any good link.
can anybody knows about good resource to start?
Look into Kivy (mobile/cross-platform--which uses PyGame) or PyGame for game development modules. Python is an object-oriented language so mostly everything created python should be object-oriented naturally.
Just some references to get you started:
PyGame:http://gamedevelopment.tutsplus.com/tutorials/how-to-learn-pygame--cms-24184
Kivy Docs: https://kivy.org/docs/tutorials/pong.html
Alexander Taylor: https://www.youtube.com/watch?v=F7UKmK9eQLY
First of all, these types of questions usually get closed quickly because "help me find a tool, book or resource" is generally not welcome.
That said we do our best to help anyway before questions get shut down.
I would recommend Pygame if you're a beginner, otherwise I'd suggest Pyglet every day of the week.
I just posted a good example yesterday of how you can OOP some OpenGL stuff that can be used for games that I think work really well. I also gave a semi descent description of every step to make it more logical (bare in mind I was speeded out of my brains while typing it so pardon the language):
https://stackoverflow.com/a/34861509/929999
Check that out and see if that is in your ballpark of what you hand in mind band best for luck to your journey.
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
What are the best (more or less mature, supporting more advanced logic, having acceptable performance, scalable to some extent) open source Semantic Web libraries and tools (RDF storage, reasoning, rules, queries) for Python nowadays? Historically Python tools (cwm) were among the first to appear, but it still seems that everyone uses Java back-ends for performance and Python as mere client if at all. My purpose is to learn the technology and maybe some future use in production system if it proves itself up to the task. The task is not yet defined, but as I see it its building a knowledge base, linked with some external resources, and customized facet-navigable web front-end.
If some building blocks based on Python are not good enough, then what is the suitable piece from Java/C/C++/whatever world.
Typical stack is also of interest, if there are one or two clear winners.
Thanks.
A survey of of Python libraries and tools for Semantic Web programming is available here. It includes libraries for working with RDF as well as Python-friendly triple stores.
Toby Segaran's book Programming the Semantic Web also has a lot of programming examples in Python.
You could check out the pyswip. It could work with the SWI-Prolog. Wish it would fit for requirement. :)
To name some, check out RDFLib and CubicWeb.
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
Does anyone know anywhere there's a wide collection of Python source code on the net with decent documentation? If so, can someone post it up here?
Perhaps the Python Standard Library? Or are you looking for something more specific?
I am not sure what you meant by "source code"? Source code of Python libraries or code examples and recipes?
Well the link to Python STL is great (#zenazn).
In addition to that if you are looking for specific issues and their solutions and recipes, I will suggest:
http://code.activestate.com/recipes/langs/python/
Stack overflow itself.
Though you won't find much documentation at these sources, but that is supplemented by great answers, comments and discussions.
you can find a huge number of python libraries at the cheese shop.
A great place covering several libraries with very clear examples is:
http://nullege.com/codes/
I like:
The Python Cookbook
Google Code Search
The cpython source code (the original python project) is at http://hg.python.org/cpython/file/default/
Not the Python itself but the 3rd party package source codes that you can even search within the source codes:
http://pydoc.net/
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 3 years ago.
Improve this question
I've been having a hard time trying to understand PyPy's translation. It looks like something absolutely revolutionary from simply reading the description, however I'm hard-pressed to find good documentation on actually translating a real world piece of code to something such as LLVM. Does such a thing exist? The official PyPy documentation on it just skims over the functionality, rather than providing anything I can try out myself.
This document seems to go into quite a bit of detail (and I think a complete description is out of scope for a stackoverflow answer):
http://codespeak.net/pypy/dist/pypy/doc/translation.html
The general idea of translating from one language to another isn't particularly revolutionary, but it has only recently been gaining popularity / applicability in "real-world" applications. GWT does this with Java (generating Javascript) and there is a library for translating Haskell into various other languages as well (called YHC)
If you want some hand-on examples, PyPy's Getting Started document has a section titled "Trying out the translator".
PyPy translator is in general, not intended for more public use. We use it for translating
our own python interpreter (including JIT and GCs, both written in RPython, this restricted
subset of Python). The idea is that with good JIT and GC, you'll be able to speedups even
without knowing or using PyPy's translation toolchain (and more importantly, without
restricting yourself to RPython).
Cheers,
fijal
Are you looking for Python specific translation, or just the general "how do you compile some code to bytecode"? If the latter is your case, check the LLVM tutorial. I especially find chapter two, which teaches you to write a compiler for your own language, interesting.
It looks like something absolutely revolutionary from simply reading the description,
As far as I know, PyPy is novel in the sense that it is the first system expressly designed for implementing languages. Other tools exist to help with much of the very front end, such as parser generators, or for the very back end, such as code generation, but not much existed for connecting the two.