Friday, December 18, 2020

Houdini 18 : Parse .bgeo files

 

$hython /opt/hfs18.0.460/houdini/public/hgeo/hgeo.py file.bgeo

       7199 Points
       7199 Vertices
          1 Primitives
----- Attributes -----
Point Attributes
   numeric P[3]
   numeric v[3]
Primitive Attributes
   string name[1]
Global Attributes
   numeric rest_ratio[1]
   numeric rest2_ratio[1]
   numeric timescale[1]
1 Primitives
         1 PolySoup
Primitive 0 is a PolySoup and has 0 vertices.

 

$ hython /opt/hfs18.0.460/houdini/public/binary_json/json_binary_verify.py /opt
/hfs18.0.460/houdini/geo/defgeo.bgeo  
JSON Valid: /opt/hfs18.0.460/houdini/geo/defgeo.bgeo (0.002985 s)

 

Professor Position Requeriments

How to write "memorial" para concurso

[1] Examples https://marcoarmello.wordpress.com/2018/07/19/memorial/ 


Friday, November 06, 2020

Books

 

[1] La Incognita Newton ( My First book )


 

[1] Amazon https://www.amazon.com/INCOGNITA-NEWTON-CATHERINE-SHAW/dp/B00A6FIPGK


[2] As palavras de saramago

https://kbook.com.br/wp-content/uploads/2016/07/aspalavrasdesaramago.pdf

Monday, November 02, 2020

Compile g3dviewer in Ubuntu16

 

Source:

[1] http://automagically.de/g3dviewer/


Settings:

$cd src

$grep DATA_DIR *
$locate g3dviewer.glade #to define DATA_DIR

#To find right libraries

$pkg-config --libs gtk+-2.0     
$pkg-config --libs gtkglext-x11-1.0

 

Compile Code:

$gcc -o app main.c model.c screenshot.c texture.c trackball.c glarea.c gl.c gu
i_callbacks.c gui_glade.c gui_infowin.c gui_log.c -I /usr/include/gtk-2.0 -I /u
sr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/inclu
de/cairo -I /usr/include/pango-1.0 -I /usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I /usr/include/gdk-pixbuf-2.0 -I /usr/include/atk-1.0 -I /usr/include/gtkglex
t-1.0 -I /usr/lib/gtkglext-1.0/include -I /usr/include/libglade-2.0 -lgtk-x11-2
.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm
-lGL -lglut -lGLU -lglade-2.0 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL
-lXmu -lXt -lSM -lICE -lgdk-x11-2.0 -lpangox-1.0 -lX11 -Wl,--export-dynamic -l
gmodule-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lc
airo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib
-2.0 -lfontconfig -lfreetype -lg3d


 


Friday, October 30, 2020

Maxx alternatives

 

Resources:

[1] php+mysql https://sourceforge.net/projects/simple-invoice/

      demo http://obedalvarado.pw/simple-invoice/

[2] php+mysql https://sourceforge.net/projects/gatax/

 

Compile k3d in Ubuntu 16

 

Logo

Source http://www.k-3d.org/

Main errors:

INCLUDE(K3DFindFreetype2) # freetype6-dev

INCLUDE(K3DFindGtkmm) #DEBUG 

https://gtkmm.org/en/download.html #works with version 2.x

INCLUDE(K3DFindFTGL) #DEBUG

#To DEBUG Variables

message(STATUS "DEBUG: K3D_FREETYPE2_FOUND: ${K3D_FREETYPE2_FOUND}")
message(STATUS "DEBUG: Aqsis_FOUND: ${Aqsis_FOUND}")

#Support CUDA need to enable in CMakeLists.txt (main)

Day 2:

K3DFindBoost.cmake (update paths)

SET(K3D_BOOST_INCLUDE_DIR "/usr/local/include" CACHE PATH "Override the default location for Boost header files.")
SET(K3D_BOOST_LIBRARY_DIR "/usr/local/lib" CACHE PATH "Override the default location for Boost libraries.")


renderframe/CMakeLists.txt

LINK_DIRECTORIES() #add boost path

TARGET_LINK_LIBRARIES()  #add boost_regex boost_program_options boost_system boost_python27 boost_thread boost_date_time

 #disable CGAL

#K3D_CHECK(K3D_BUILD_CGAL_MODULE REQUIRES K3D_CGAL_FOUND RESOURCE "CGAL") #DEBUG


 

Saturday, October 24, 2020

Compile and Links snippets

 

 

[1] cmake parameters https://stackoverflow.com/questions/31387188/pass-variable-value-to-make-using-cmake

 

[2] PYTHONPATH https://www.devdungeon.com/content/python-import-syspath-and-pythonpath-tutorial

 

Wednesday, October 21, 2020

Boost 1.7 on Ubuntu16

 

 

https://www.boost.org/users/download/


Enable to work with Python3


cd boost1.7
 $./bootstrap.sh -with-libraries=python -with-python-version=3.6 
$./b2
$sudo ./b2 install

Thursday, October 01, 2020

Sunday, September 27, 2020

Pdf Listen tools

 

 

http://freesoftwaremagazine.com/articles/listen_your_books_epub_pdf_okular/

 https://askubuntu.com/questions/633337/pdf-reader-that-can-read-out-loud

Installed this extension on chrome called readaloud

https://www.sodapdf.com/pdf-reader/  (Just for open pdf online)

Friday, September 25, 2020

Python Animation Matrix Convolution

 

[1] Convolution animation https://stackoverflow.com/questions/52067833/how-to-plot-an-animated-matrix-in-matplotlib

Friday, September 18, 2020

Time series

https://towardsdatascience.com/the-complete-guide-to-time-series-analysis-and-forecasting-70d476bfe775

https://github.com/AileenNielsen/TimeSeriesAnalysisWithPython
https://github.com/aurea-soriano/PublicAnomalyDetection

 

Tools

[1] Smooth time series

https://machinelearningmastery.com/moving-average-smoothing-for-time-series-forecasting-python/


[2] Auto encoders https://towardsdatascience.com/autoencoders-for-the-compression-of-stock-market-data-28e8c1a2da3e


Sunday, August 16, 2020

Video edition by ffmpeg

 

$ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi

$ffmpeg -i video.mp4 -f srt -i video.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text out.mp4

References:

[1] https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

[2] https://stackoverflow.com/questions/8672809/use-ffmpeg-to-add-text-subtitles

Wednesday, August 12, 2020

Tuesday, August 04, 2020

Watching movies


[1] Requires installation Windows/Linux https://syncplay.pl/download/
[2] Watch2Getter for Youtube links

Tools
[1] Mergue Video and Subtitle Win/Linux https://mkvtoolnix.download/downloads.html
[2]
ffmpeg -i video.mp4 -vf subtitles=video.srt out.mp4

Tuesday, July 14, 2020

Scientific Publication Resources






[1] Where to publish a scientific publication http://methodo.ucc.edu.ar/files/vol5/num3/ART%209%20..pdf

Audiobooks


[1] http://www.loyalbooks.com/genre/Teen_Young_adult
[2] Nietzsche, Socrates and others https://librivox.org



References:
[1] https://www.mosalingua.com/pt/lista-dos-melhores-audiolivros-gratuitos-para-aprender-ingles/

Tuesday, June 30, 2020

Segmentation Lectures




https://medium.com/free-code-camp/mask-r-cnn-explained-7f82bec890e3
https://www.analyticsvidhya.com/blog/2019/07/computer-vision-implementing-mask-r-cnn-image-segmentation/

Wednesday, June 17, 2020

Anisotropic Diffusion


[1] Perona Malik Diffusion for Edge Detection
https://github.com/fubel/PeronaMalikDiffusion/blob/master/main.py

[2] https://github.com/pastapleton/Perona-Malik
[3] https://pastebin.com/sBsPX4Y7

Sunday, May 31, 2020

Rendering


[1] Physically Based Rendering https://pbrt.org/index.html
[2] Scenes https://pbrt.org/scenes-v3.html
[3] Guide https://pbrt.org/users-guide.html

Smoke Simulation Code

Compile from Windows to Linux

C++17 implementation of "Local Bases for Model-reduced Smoke Simulations" in 2D with dynamic obstacles. See www.olivier-mercier.com/res/publications/basisFluid/ for more details.

[1] Source Visual Studio https://github.com/omercier01/basisfluid
[2] One file libraries (images, noise, fonts,etc ) https://github.com/nothings/stb
[3] GLM Library https://glm.g-truc.net/0.9.2/api/index.html
[4] Localtime https://en.cppreference.com/w/c/chrono/localtime


Friday, May 29, 2020

Image Segmentation using Deep Learning resources



[1] https://www.nature.com/articles/s41699-020-0137-z.pdf

https://europepmc.org/backend/ptpmcrender.fcgi?accid=PMC5729043&blobtype=pdf

https://borda.github.io/pyImSegm/

http://vision.cs.utexas.edu/projects/keysegments/keysegments.html

Wednesday, May 13, 2020

Tuesday, May 12, 2020

3D Face reconstruction resources


[1] Python code  https://github.com/YadiraF/face3d
[2] Torch+Lua? https://github.com/AaronJackson/vrn
[3] Complete body https://github.com/vchoutas/smplify-x
[4] https://medium.com/vitalify-asia/create-3d-model-from-a-single-2d-image-in-pytorch-917aca00bb07
[5] Based on ShapeNet https://github.com/nywang16/Pixel2Mesh
[6] https://github.com/microsoft/Deep3DFaceReconstruction

Tools online
[1] 3D Model from single face picture https://cvl-demos.cs.nott.ac.uk/vrn/
[2] Search in github https://github.com/topics/3d-face-reconstruction


Resources
[1] https://paperswithcode.com/task/3d-face-reconstruction

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com