last day (15 days later) » 

8:30 PM
0
A: VideoStream::setVideoMode() function doesn't work

api55I change the VideoMode succesfully in a code a did before. After creating the VideoStream you should do something like: rc = depth.create(device, openni::SENSOR_DEPTH); if (rc != openni::STATUS_OK) error_manager(3); // set the new resolution and fps openni::VideoMode depth_videoMode = dept...

 
my supported video modes is weird !!! only the first is normal :-? gist.github.com/mehdi1902/9e4d7308998d4ac82043
 
@mehD what camera are you using? I was using a primesense Carmine and got normal values always... maybe only one 640x480 at 30 fps is supported... the other ones don't make sense at all. This is my output github.com/cvlabbonn/tools_openni2/blob/master/…
 
I'm using Kinect Xbox 360. So you have wide range of choices :) but I'm not :(
 
Oh ok, I haven't try this with the kinect I have, but it's true that with openni it is a little more restricted, and also if it is linux or mac is not even supported at all, try anyways with 15 fps that is the other one that i saw it was supported in mine
 
Totally i want to change the resolution and fps to decrease the noise of depth frame. Can u help me about this issue ? tnx
 
8:30 PM
googleing a little bit more, i found out that is not possible with the kinect.... you can only increase the resolution (and obtain lower fps)... A workaround would be to do the resize yourself (i.e. with opencv resize function) though i don't think the noise will be reduce much doing it like this... You may do some process to the image to reduece the noise. Or, if it is possible, get another camera with a wider selection of supported resolutions
 
Hi
can I ask some questions ?
I correct my result for Video Stream Mode
the only result is the first
i mean 30fps result
 
yes, that is the supported mode
sadly with less resolution is not supported
 
So bad
It's about my thesis project
 
yes, i think the new kinect is also limited
 
I want to create a 3D scanner
but it's so confusing
hmmm, but I can say I love this challenge
:)
 
8:38 PM
true
it is not easy
especially if you want to have many details
you mean a 3D object scanner?
 
yes
 
sounds interesting
 
I searching a loooooot
around the web for select library
and driver for kinect
 
i tried to do so, but my approach was not that good to obtain good details :(
 
and I found it's good to use from PCL
(Point Cloud Library)
 
8:40 PM
yes, that is the one
 
so i think it's good to use C++
 
it is
 
I can get depth from kinect now
but i think it doesn't have good resolution
to create point cloud from it
 
I used the pcl openni 1.x implementation, the openni 2.x in pcl is rather new
 
openni 2.x is so different from 1.x ?
 
8:42 PM
hmmmm, actually the higher the resolution the better, i mean more information per space
it changes a lot, but in quality of the images obtain is the same
 
with openni2.x , i had some problem on ubuntu
finally i found that i should use Freenect driver
and in compile, enable FreenectOpenNIDriver
it has take many hours :D
 
my sugestion is that you save the data in pcd files or images files or .oni file and make your algorithm work with that... it is better to have a dataset to compare results with other algorithms
 
yes, it's good
 
yes, openni stop supporting kinect in linux and mac due to microsoft complaints
 
for now i save my data in PPM format !
it's new for me
but i found it's an image format
and a simple format
 
8:46 PM
hmmmm
 
so i can see my results
 
if it is only for saving datasets i have a tool in openni 2.x
 
and as u say, I can save the point in PCD format
 
thanks
 
8:47 PM
i created this tool for saving datasets in different formats
 
I see your project
but i don't have opencv
i install opencv
 
you don't have to use it, but you may get ideas of how to save them
 
and then use your tool
aha, yes :)
 
i think i use opencv basic functions so i think that you can run sudo apt-get install libopencv
 
(sorry, my english language isn't so good)
 
8:48 PM
no problem
 
I install opencv
in many tutorials, I see they used from openCV
 
with my tool you may cut the depth/rgb information in different dimensions if you want to reduce the noise due to background
 
in many years i wanted to learn opencv, but ...
 
opencv is one of the most used image manipulation library
it has seeeeeeeeeeveral functions really interesting that you may use
 
I worked with opencv before, but on a ready code and change the function a little :D
 
8:51 PM
opencv is kind of "easy" to use, sometimes is tricky but they are many tutorials in the internet
 
so I love that :)
Do you have any idea about 3D reconstruction ?
 
hmmm, in objects?
 
yes
I want to create a plane
a plane that rotate
 
well i have seen different ideas
 
and capture frames from object on the plane
 
8:54 PM
but most of the algorithms i have seen it is only using rgb images or only using depth
 
i want to use depth
 
I am working now with 3D scene reconstruction using RGB-D SLAM to detect the camera poses and FastFusion to reconstruct the mesh
with depth you can try different approaches also
 
You're awesome :)
can u help me about these approaches ?
just a name
 
and i searching about that method
 
8:58 PM
this is one that i have seen
 
thanks :)
 
it is for "persons" but it has high detail and may work nicely with objects
 
yes, it's so goood
 
i think that is the closest to what you want to do that i know
he has more papers that may help you though
 
and thanks again
 
9:01 PM
for object scanning i think you'll find a lot of papers in google scholar
are you doing your bachelor thesis? master thesis?
 
bachelor thesis
 
cool
 
my friends said : "You are crazyyyyyyy!"
but I love this
 
a little bit, jaja
it is not easy
 
:D
 
9:02 PM
but it is an interestant field
though remember that thesis most have a novel idea
 
I want to do it perfect
maybe my teacher get me for master
in my university
 
so you can do almost the same one, but applying something new, like a pre-processing or post-processing to get better results, or to apply it to scan objects and then creating a mesh or something like that and then fitting into a 3D model of a room
I am finishing my master now, doing also the thesis
 
I don't have any experience in 3D issues
such as meshing
texturing
ant ...
but i want to learn them
Your thesis subject is about RGB-D SLAM ?
 
well, for your thesis, don't try to learn and do everything, try always to find libraries that do such a thing
yes
my thesis topic is "Calibration and Simultaneous Localization and Mapping with Multiple RGB-D Cameras"
 
I don't have any road map in my mind
that i work on it
i should go toward and decision about next step
it's a good subject
last year I and my friend want to make an autonomous robot
an AGV
 
9:10 PM
after reading several papers, you must decide exactly what to do and then plan ahead how to implement this, and for some tasks try to find a library (like opencv or pcl) that do most of the trivial tasks
autonomous robot is a vague project
you need something more especific
 
yes
 
like, what will this robot do exactly
 
and in navigation
we couldn't continue
 
and always, remember it has to be state-of -the-art idea
for robot things, use ROS (robot operating system)
it has a lot of tasks already implemented, and it will let you focus in what you want to do
 
I saw that before
it's a goood site
with an incredible documentation
 
9:15 PM
also, remember, we are only human, and your thesis have a time limit, so do not try to do a loott of things
focus in one idea, and the rest of it, if they are needed find a library
 
yes, i just have a month
 
exactly, imagine if you try to do a hundred things, you won't finish on time
 
you're right
I should find a way and start early
 
yes
and focus
 
ooh. god
focus
I work on my thesis project
 
9:20 PM
hehe
 
at the same time I'm writing an android app
and writing a website with my friends
 
hmmmm, that will increase the difficulty level jeje
 
and writing a project that we gof from a company
yees :D
but i love Python
and every time i write python code, i got sooo energy
I wanted to write my project in python
but pcl doesn't fully support for python
 
python is nice, but for image processing and 3d things and so on is better in c++ because it's faster
though, opencv supports python
 
yes
but pcl supports python only in io
read and write to a PCD file
 
9:25 PM
well PCL has less developers that opencv, and less time. We need to wait more until it gets better :)
 
yes
it's a good library
pcl user mailing list is good too
 
yes
if you have any problem write there, 80% of the time they will answer and fast
 
yes
I'm happy with my project
before this
I have windows
and write my c++ code in visual studio
now i have ubuntu and write my code in eclipse
visual studio is moooore easier
and make easy your work
but eclipse
make you a man :D
 
jajaja
try using kate or gedit XD
just kidding eclipse is good
 
gedit :D
sublime editor is sooo better than gedit
 
9:31 PM
visual studio is good but you learn less, half of the things are done by clicking a button
sublime is nice, but is "not free"
 
yes
exactly
hmmm
i installed sublime
but it isn't expired
:-?
you know, in my country
 
every now and then it will bring a pop up saying to buy it
 
copyright is not exist
 
china?
 
ahaa, it's not important :D
Iraan
 
9:34 PM
oh i see
in my home country copyright exists, but no one cares
but now i am studying in germany so i have to abide to the laws here
 
here is exist too
but only for in country products
not for foreign products
but only for in country products
 
cool
 
Germany is good
we can buy a windows DVD with less than 1$
same as visual studio
 
in Venezuela you can just download it with torrent XD
 
and Adobe products
yeees
here u can
:D
 
9:37 PM
also you can buy it but you have to go out of the house
XD
 
:))
 
but here in germany the law works and if i do so, i can get a fine
 
here they are soo many sites that u can download softwares with crack
 
usually is like 2000-3000€ that i dont want to pay
 
ooops
 
9:38 PM
yep yep, i know
 
can i know your name ?
 
sure
Pablo Aponte
 
good
i say pablo :D
 
cool
 
and i will happy if i can get your mail address
 
9:41 PM
name.lastname [at] gmail
 
gmail is better
aha
thanks
 
i think i see your email in the mailing list of pcl
mehdi saman
 
yes
 
i'm going to watch a movie, if you need something just send an email, and i'll answer you
 
thanks a lot
which movie ?
:D
I love movies
 
9:44 PM
not sure yet
hehe
 
"The Prestige"
is an awesome movie
 
cool
see you later then :)
have a nice night
i hope your thesis turns out good
 
thanks
u 2
i hope too :D
and for your thesis
oops
its 2:17 AM
better i go to sleep
and u see your movie
 
here is not that late
have a nice sleep
 
:D
 
9:47 PM
bye
 
thanks
bYE
:-h
 

last day (15 days later) »