Friday, September 28, 2018
video face fake
Resources:
[1] Original article (pt) https://medium.com/ensina-ai/deep-fakes-ao-vivo-que-tal-entrar-em-uma-video-confer%C3%AAncia-com-o-rosto-de-outra-pessoa-92fc8c2d5726
[2] source code using docker https://github.com/alew3/faceit_live
Monday, September 24, 2018
opengl compile error
Compiling Collisions, quadtrees, uniform grid.
https://github.com/MarcusMathiassen/P2D
$g++ Circle.cpp getTime64.cpp Process.cpp Utility.cpp Color.cpp hwinfo.cpp Inputs.cpp Quadtree.cpp Vec2.cpp Config.cpp main.cpp Rect.cpp FixedGrid.cpp Node.cpp Render.cpp -I ../include/ -lGL -lglut -lGLU -lGLEW -lpthread -lX11 -lglfw -o q5
error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
$sudo apt-get install libglew-dev
$locate libGLEW.so.2.1
...
/usr/lib64/libGLEW.so.2.1.0
/usr/local/lib/libGLEW.so.2.1
/usr/local/lib/libGLEW.so.2.1.0
...
...
sudo vi /etc/ld.so.conf.d/glew.conf
/usr/local/lib
$sudo ldconfig
Resources:
[1] https://sourceforge.net/projects/glew/files/glew/snapshots/
https://github.com/MarcusMathiassen/P2D
$g++ Circle.cpp getTime64.cpp Process.cpp Utility.cpp Color.cpp hwinfo.cpp Inputs.cpp Quadtree.cpp Vec2.cpp Config.cpp main.cpp Rect.cpp FixedGrid.cpp Node.cpp Render.cpp -I ../include/ -lGL -lglut -lGLU -lGLEW -lpthread -lX11 -lglfw -o q5
error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
$sudo apt-get install libglew-dev
$locate libGLEW.so.2.1
...
/usr/lib64/libGLEW.so.2.1.0
/usr/local/lib/libGLEW.so.2.1
/usr/local/lib/libGLEW.so.2.1.0
...
...
sudo vi /etc/ld.so.conf.d/glew.conf
/usr/local/lib
$sudo ldconfig
Resources:
[1] https://sourceforge.net/projects/glew/files/glew/snapshots/
Wednesday, September 19, 2018
Delaunay Resources
Delaunay
[1] http://www.cs.uu.nl/docs/vakken/ga/slides9alt.pdf
[1.1] Geometric Algorithms
http://www.cs.uu.nl/docs/vakken/ga/
[2] Geometric modeling codes* http://jeffe.cs.illinois.edu/compgeom/code.html
[3] Hexahedral mesh https://www.hextreme.eu/download/
[4] Delaunay 3D https://github.com/ashwin/gDel3D
[5] Delaunay 3D https://github.com/ashwin/gStar4D
[6] Delaunay 2D/3D https://github.com/mikolalysenko/delaunay-triangulate
[7] D3D for C++ http://www.geom.at/fade3d/html/
Friday, September 14, 2018
3D Models & tools
1) Open .obj 3D format
view3dscene
$sudo apt-get install view3dscene
meshlab - System for processing and editing triangular meshes
$sudo apt-get install meshlab
g3dviewer
$sudo apt-get install g3dviewer
Other tools
- glc_player which is said to read-and-show '.3ds', '.obj', '.stl', '.off', '.3dxml', and Collada ('.dae') files
- g3dviewer which is said to read-and-show '.3ds', '.lwo', '.obj', '.dxf', '.md2', '.md3', '.wrl', '.vrml', '.dae' (COLLADA), '.ase' (ASCII Scene Exporter), '.ac' (AC3D)
- ivview which reads-and-shows '.iv' and VRML1 files
- paraview which reads-and-shows '.ply' and '.vt*' files
- varicad-view which reads-and-shows '.dwg' (2D), '.dxf' (2D only?), '.igs' (maybe?), '.stp' (3D) files
- wings3d - Nendo-inspired 3D polygon mesh modeller (legacy)
- gmsh - Three-dimensional finite element mesh generator
- libadmesh-dev - Tool for processing triangulated solid meshes.
- libgmsh-dev - Three-dimensional finite element mesh generator.
- libmadlib-dev - mesh adaptation library
- libnglib-dev - Automatic 3d tetrahedral mesh generator development files
- libscotch-dev - programs and libraries for graph, mesh and hypergraph partitioning
- netgen - Automatic 3d tetrahedral mesh generator
- libtriangle-dev - High-quality 2-D mesh generator development files
[1] mview http://mview.sourceforge.net/
Models
[1] .max, .obj, blender, etc. www.turbosquid.com
[1] http://tf3dm.com/
Thursday, September 13, 2018
Python extending functions from C/C++
References
[1] https://docs.python.org/3/library/ctypes.html
https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html
https://opensourceforu.com/2010/05/extending-python-via-shared-libraries/
https://en.wikibooks.org/wiki/Python_Programming/Extending_with_C%2B%2B
Friday, September 07, 2018
Linear Regresion
[1] Regresion linear http://onlinestatbook.com/2/regression/intro.html
[2] https://towardsdatascience.com/linear-regression-with-example-8daf6205bd49
Thursday, September 06, 2018
Wednesday, September 05, 2018
pip3 ImportError: cannot import name 'main'
In linux you need to change the file: /usr/bin/pip3 from:
to:
from pip import main
if __name__ == '__main__':
sys.exit(main())
to:
from pip import __main__
if __name__ == '__main__':
sys.exit(__main__._main())
Monday, September 03, 2018
c++ realloc references
https://en.cppreference.com/w/c/memory/realloc
https://www.tutorialspoint.com/c_standard_library/c_function_realloc.htm
Sunday, September 02, 2018
quadtree
References:
[1] http://www.lcad.icmc.usp.br/~jbatista/procimg/quadtree_neighbours.pdf
[2] http://homepage.divms.uiowa.edu/~kvaradar/sp2012/daa/ann.pdf
[3] http://web.archive.org/web/20120907211934/http://ww1.ucmss.com/books/LFS/CSREA2006/MSV4517.pdf
[3] operations cost https://arxiv.org/pdf/1712.05591.pdf
Resources:
[1] quadtree neighbors https://bl.ocks.org/mbostock/4343214
[2] neighbors https://gist.github.com/patricksurry/6478178
[3] neighbors https://github.com/geidav/quadtree-neighbor-finding/blob/master/neighbors.py
[4] https://geidav.wordpress.com/2017/12/02/advanced-octrees-4-finding-neighbor-nodes/
[5] for check https://github.com/xoolive/quadtree
[6] gaussian kd-tree https://www.cg.tuwien.ac.at/courses/Visualisierung2/HallOfFame/2012/7-Labschuetz/Homepage/index.html#References
[7] quadtree over CUDA source code http://ecee.colorado.edu/~siewerts/extra/code/example_code_archive/a490dmis_code/CUDA/cuda_work/samples/Samples.html
[1] http://www.lcad.icmc.usp.br/~jbatista/procimg/quadtree_neighbours.pdf
[2] http://homepage.divms.uiowa.edu/~kvaradar/sp2012/daa/ann.pdf
[3] http://web.archive.org/web/20120907211934/http://ww1.ucmss.com/books/LFS/CSREA2006/MSV4517.pdf
[3] operations cost https://arxiv.org/pdf/1712.05591.pdf
Resources:
[1] quadtree neighbors https://bl.ocks.org/mbostock/4343214
[2] neighbors https://gist.github.com/patricksurry/6478178
[3] neighbors https://github.com/geidav/quadtree-neighbor-finding/blob/master/neighbors.py
[4] https://geidav.wordpress.com/2017/12/02/advanced-octrees-4-finding-neighbor-nodes/
[5] for check https://github.com/xoolive/quadtree
[6] gaussian kd-tree https://www.cg.tuwien.ac.at/courses/Visualisierung2/HallOfFame/2012/7-Labschuetz/Homepage/index.html#References
[7] quadtree over CUDA source code http://ecee.colorado.edu/~siewerts/extra/code/example_code_archive/a490dmis_code/CUDA/cuda_work/samples/Samples.html
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
Odoo 17 - Custom adds
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal