Log in or register to post comments

Region Capture

November 30, 2015 - 8:22am #286

Error on import:

Assets/Region_Capture/Scripts/DisableSystemUI.cs(40,21): error CS1674: `AndroidJavaClass': type used in a using statement must be implicitly convertible to `System.IDisposable'

Unity3D 5.2.3f1

Any solution?

Region Capture

November 30, 2015 - 12:07pm #285

D3m0n - Thank you for your report..

However, I don't see this problem. The error occurs when compiling?
What do you use - Mono2x or IL2CPP?

Region Capture

November 30, 2015 - 3:51pm #284

Running iOS9 on iPhone6.

I can confirm that it works, but only on default portrait orientation. Any other orientations skew the patch image.

Good work so far though!

Region Capture

December 1, 2015 - 2:35am #283

No problem man! I use Mono2x and Android platform.

This error I came out immediately after importing, then not at compile time.

Region Capture

December 1, 2015 - 5:26am #282

I have some bug:

http://prntscr.com/992gwg

Region Capture

December 1, 2015 - 5:32am #281

Bug: http://prntscr.com/992ids

ImageTarget Settings http://prntscr.com/992irx

Region Capture Settings  http://prntscr.com/992ixq

Vufroia 5.0.6 / Unity 5.2.3f1

Region Capture

December 1, 2015 - 6:05am #280

Pepperstech, Hi !

This bug in the Editor?  Have you tried to check other markers?

 

Region Capture

December 1, 2015 - 6:30am #279

On Android device too. 

With default image target "stoneandchips" works fine. Change size of my image target to 100(was 1) and it works fine too!) 

Region Capture

December 1, 2015 - 6:31am #278

On Android device too. 

With default image target "stoneandchips" works fine. Change size of my image target to 100(was 1) and it works fine too!) 

Region Capture

December 1, 2015 - 7:11am #277

Pepperstech, could you send me your marker as dat-file ?

Region Capture

December 2, 2015 - 1:53am #276

unitypackage

With width 100 works fine. 

Also I want to recognize 2 markers simultaneously. How can I do this?

Region Capture

December 2, 2015 - 8:10am #275

unitypackage

With width 100 works fine. 

 

Also I want to recognize 2 markers simultaneously. How can I do this?

AttachmentSize
Binary Data bytes

Region Capture

December 2, 2015 - 1:50pm #274

hi,

can you share your code or a simple working example?

 

it will be very appreciated :)

 

thanks

 

Region Capture

December 4, 2015 - 10:25am #273

pepperstech wrote:

unitypackage

With width 100 works fine. 

 

Also I want to recognize 2 markers simultaneously. How can I do this?

 

can you share your code or a simple working example?

Region Capture

December 4, 2015 - 12:52pm #272

Hi guys. Thank you for having waited so long.

We made the first video-tutorial: Coloring 3d model.

Link - https://vimeo.com/147882653

Region Capture

December 7, 2015 - 8:43am #271

Absolutely perfect! Just what I needed.

Thanx for posting this and I'm looking forward to the next video!

Region Capture

December 12, 2015 - 9:52am #270

hi,

I have the same problem on android.

if I choose landscape orientation (better for playing with bigger images), the patched texture is skewed.

If I use my phone in portartrait (but compiled for landscape), it works.

 

Region Capture

December 13, 2015 - 12:26am #269

Magnetica - What is your phone? Samsung?

Region Capture

December 13, 2015 - 1:54am #268

Yes, it's a galaxy note 4

i will try with my S6 too

Region Capture

December 13, 2015 - 2:08am #267

I also have problems getting it work properly witn an Samsung Galaxy S3 : the captured image seems to have an offset and that's why the texturing also has an offset.

All my other android phones ( non-samsung ) work fine though.

 

Region Capture

December 14, 2015 - 12:17am #266

why these problems with samsung phones?

 

Region Capture

December 21, 2015 - 9:49am #265

Shift captured texture is fixed in the new Vuforia 5.0.10  (tested on Iphone 6)

Region Capture

December 22, 2015 - 7:17am #264

@maximrouf  thank you for your plugin

I've use it for taking texture from marker and it works perfect
Now I'm trying to implement it in ARVR sample from Vuforia, which is with cardboard sdk
But can't capture texture from target, do you have any suggestion how to achieve this?
Thank you a lot :)

Region Capture

December 22, 2015 - 1:12pm #263

Hi Orfena.

I'll add it in the new version.  (in the next 4-5 days)

Region Capture

December 22, 2015 - 1:19pm #262

on samsung devices I have the same error in portrait mode.

any chance to solve it?

 

thansk

Region Capture

December 28, 2015 - 2:25pm #261
We recorded a new video to inspire you.
 
PS: It requires good knowledge of Unity.
PS2: And we are working on a new version of the plugin.
 

Region Capture

December 29, 2015 - 12:16am #260

maximrouf wrote:
We recorded a new video to inspire you.
 
PS: It requires good knowledge of Unity.

Also, it requires good knowledge of Russian :D

Region Capture

December 29, 2015 - 7:41pm #259

Before to update Vuforia from 5.0.6 to 5.0.10, the texture was perfectly positioned on iphone 6, but offseted on all other ios devices. Now that I updated it it not offseted on ios 6 +, but offseted on all other devices. Could it be related to the setting in the ARCamera ? Could please share the settings you use for the ARCamera ? Thanks for your amazing work.

Region Capture

December 31, 2015 - 2:53am #258

After more investigation, I can say that it works fine on iPad mini 3, but not on iPad mini 2 (the texture is slightly offset down). The weird thing is that :

- ar camera aspect ratio.
- video image size.
- video texture size.
- AR camera vector position and scale.
- Video background size
- Video background position.

are ALL identical. I tried with Optimize Speed as well. Still the same problem.

What else could affect this offset of the texture ?

Region Capture

January 3, 2016 - 8:33am #257

XavierFigueras, thanks for your report. Can you try a new version 1.71 ?

Region Capture

January 3, 2016 - 8:41am #256

Texture Region Capture (Ver. 1.7.1)

GITHub Linkhttps://github.com/maximrouf/RegionCapture

 

Texture Region Capture (ver. 1.7.1)

Release notes:

  • Global perfomance - 10%

  • MultiTarget - added

  • StereoMode - fixed

  • Shift texture on small ImageTargets in Editor - fixed

  • Shift texture on some devices - fixed (not tested!)

  • "Hide Android Toolbar" function - moved to RC_Tools

  • "Autofocus Camera" function - moved to RC_Tools
  • "Marker Background" functuon - updated

  • Samples code - updated

  • Now you can place RegionCapture prefab into ImageTarget

Region Capture

January 3, 2016 - 9:29pm #255

Hi Maximrouf,

The offset is still there after updating. It works on ipad mini 3, but not on ipad mini 2. Could you give me information about what could be the reason for this offset and how you are trying to fix it ?

Thanks a lot.

Region Capture

January 3, 2016 - 9:57pm #254

Hi Maximrouf,

using the latest version (1.7.1), I observed that, in the editor, when I move the image target around, the debug texture will shift accordingly. This does not happen in previous version. Any idea?

Region Capture

January 4, 2016 - 6:03am #253

Yan Lam Ma - please show me more info. (screens for examples) 

Xavier Figueras - I will explore IOS shift texture in the coming days. The problem is always in the custom matrix of ARCamera.

Region Capture

January 4, 2016 - 6:02pm #252

Hi Maxim Rouf,

The problem also occurs on Samsung Galaxy 4. Is it a problem with the difference there is between the matrix of ARCamera and the real matrix that should be used for the lense of the real camera being used ? In this case, nothing we can do except correct it case by case, right ?

Region Capture

January 4, 2016 - 7:40pm #251

Hi Maximrouf, 

I am testing in the Editor, when I move the image target around, the image in the debug texture will shift. I have attached some screens

Thanks

AttachmentSize
Image icon 1.png529.7 KB
Image icon 2.png565.83 KB

Region Capture

January 5, 2016 - 3:59pm #250
Version 1.7.2
 
* "GL.GetGPUProjectionMatrix" changed to "Vuforia.VuforiaUnity.GetProjectionGL"
 

Region Capture

January 6, 2016 - 1:46am #249

Hi Maxim,

Using "GL.GetGPUProjectionMatrix" instead of "Vuforia.VuforiaUnity.GetProjectionGL" does not seem to fix the offset on ipad mini 2. Does it mean that the matrix provided by Vuforia is wrong ?

Thanks for your help

Region Capture

January 6, 2016 - 3:59am #248

Xavier, maybe you're right. I will try to find Ipad mini 2 and do some tests.

It will take me about a week.

Region Capture

January 7, 2016 - 1:58am #247

I tested region capture 1.7.2 + Vuforia 5.0.10 on many ios devices. I also attached the parameters used for the AR Camera. I would like to know if other people get different results than mine.

The offset appears on : iPad2, iPadAir, iPadMini, iPadMini2, iPadPro, iPhone6.

It does not happen on : iPad3, iPad4, iPadMini3, iPadMini4, iPhone6 S, iPhone6+, iPhone 5S.

I did not test on : iPadAir 2, iPhone 5S, iPhone6+ S, iPhone 4S, iPhone 4.
 

Region Capture

January 7, 2016 - 2:08am #246

Could you test it out again on mode optimised speed, and see if the offsets still appear, they did go away in ipadmini2, when i tested it

Region Capture

January 7, 2016 - 1:55pm #245

I was trying to do some project here, but the model was so unstable, and the color at it wasn't getting right.

Could you provide me that Pumba project?

 

Thanks :D

Region Capture

January 7, 2016 - 5:09pm #244

Victor sorry, i can't.  It was 2 hours recording video our team-work without saving project.

Region Capture

January 14, 2016 - 1:58pm #243

I have the same shif with samsung galaxy note 4

with the older version, using it in portrait mode is ok.

in landscape mode, the texture is shifted.

with the new version, the shif is present in both mode.

 

AttachmentSize
Image icon shift.jpg127.38 KB

Region Capture

January 18, 2016 - 2:09pm #242

hi,

any news?

 

thanks..

Region Capture

January 21, 2016 - 12:41am #241

I figured out than using the front camera does not have any offset so far as long as :

1 - Matrix4x4 P = Vuforia.VuforiaUnity.GetProjectionGL (0,0,0) 
has element m00 inversed on android (and m11 inversed on ios devices)

2 - The ratios 

float k_x = (float)videoTextureInfo.imageSize.x / (float)videoTextureInfo.textureSize.x * 0.5f;
float k_y = (float)videoTextureInfo.imageSize.y / (float)videoTextureInfo.textureSize.y * 0.5f;

are recalculated after switching from back camera to front camera.

But I still observe offset on many devices (including both ios devices and android devices).
Did somebody succeed to use the back camera on every devices ?

Region Capture

January 21, 2016 - 3:52am #240

@maximrouf Firstly i want to appreciate you effort. Really good work! I used the region capture from December and I was able to make it work flawlessly. Now when I used the Jan update, I am perfomring the same steps, the tecture is being captured in the "Show texture window" but not being applied on my 3d Model. Please let me know if there are some addtional steps to be taken in the new update.

 

Thanks

Region Capture

January 21, 2016 - 9:28am #239

Hey, how can I make a multi target region capture?
 

I need to do two differents targets appear and get the texture from the relative imageTarget.

Can I do this? If yes, How?

Region Capture

January 21, 2016 - 6:24pm #238
Hello guys. I was not gone.. and everything is fine.
I renew the research of problems with a shift texture.
 
Best regards, Maxim Rouf

Region Capture

January 25, 2016 - 7:21pm #237

Good luck Maxim :)

If it can help, ipad mini 2 and ipad mini 3 have almost identical hardware (camera device is identical, screen size etc...). But the texture is offseted on ipad mini 2. Maybe this two devices can be a good reference to understand what is going wrong on devices with offseted texture. Also, with front camera, it works so far with all the devices we have here (no matter it is ios or android). This also can be a good clue.

Cheers man !
Thibault.

Pages

Log in or register to post comments